Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Authentication to remote instance failed on PROD after turning on MFA setup

Jatinder_singh
Tera Contributor

Hi,

 

I just turned on MFA on QA and tried to migrate source changes to PROD and got this error message " Authentication to remote instance failed. The error reported was "Method failed: (https://qa.service-now.com/sys_update_set.do?SOAP&displayvalue=all&redirectSupported=true)HTTP/1.1 401 Unauthorized with code: 401". Check saved username and password." 

 

Both instances have the same security patches. MFA is not on PROD it is only in QA. If I turned it off on QA there been no issue to update sources. 

 

Thanks

 

 

 

8 REPLIES 8

Hi @CharanjitSingh 

This issue resolved for me by providing correct user ID and password, please try giving exact user ID from your insurance 

Hi @Pavan kumar jog ,
I have also resolved this issue by disabling the MFA in the source instance. As MFA is not supported yet for Remote instance connection

Hi @CharanjitSingh ,
it is not recommended to disable MFA. Did you try using an account with web service access only flag enabled?

brian_rowland
Giga Guru

I recommend creating a service account on the source instance w/ Web service access only = true, and grant it the admin role.  This resolved the issue w/ MFA preventing the authentication over SOAP when using an interactive user.

 

brian_rowland_0-1734634378241.png