Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

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

 

 

 

12 REPLIES 12

Hi @brian_rowland ,
My issue got fixed by changing the user type from Human to Machine as recommended with MFA kept enabled.

Thanks for your solution.

Curt4
Tera Expert

I had to add the role snc_basic_auth_api_access to the user and then it started working for me.

shahxad657
Kilo Contributor

Hi,

The 401 Unauthorized error is likely caused by MFA blocking the authentication used for the remote instance. Check the Remote Instance credentials and ensure the account used for update set migration is configured correctly and supports the required authentication method.

Thanks.