Update Set movement

DMC046
Tera Contributor

Hello,

I am attempting to transfer update sets from our development instance to the production environment. I have successfully captured and marked the local update set as complete. However, when I create a new connection in the update source and test the connection, I receive the following error: "Authentication to remote instance failed. Method Failed: Http:/ 1.1 401 unauthorized with code: 401." I am using my administrative credentials, which I use to log into ServiceNow, but the error persists.

Could you please assist me in resolving this issue?

Thank you.

1 ACCEPTED SOLUTION

Robbie
Kilo Patron
Kilo Patron

Hi @DMC046,

 

Just to clarify, when setting up the connection between environments, you need to use the account credentials for the account you're attempting to connect to. For example, if trying to connect to Dev form Prod, you need to use the Dev credentials. Additionally, you need to make sure that account has the correct admin role. Please however read below before proceeding.

 

Before I offer an alternative and in my view a more targeted approach for moving update sets, can I just confirm where or how you are verifying your update set packages? Do you have a Test environment? I assume you have 3 environment in total - Dev, Test and Prod.

It is absolutely recommended to test your update sets in a Test environment before deploying to Production.

 

Based on this assumption, I would ensure that the connection between Prod and lower environments should actually be between Prod and Test, not Prod and Dev.

 

For a more targeted approach to move update sets (and ensure you only move what you need to rather, rather than all / any 'completed' update sets).  You can simply export the update set by clicking on the 'Export to xml' related link from within the update set record itself - this will download the update set and associated xml files.

On the instance you wish to push the update set(s) to, you can type 'Retrieved update sets' into the Navigation menu, and from here you can 'Import xml'. Once imported you can preview and manage the update set as required including commit.

 

To view the ServiceNow support site for the error you're experiencing, see here: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0535247

 

To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.





Thanks, Robbie

View solution in original post

7 REPLIES 7

Hi @DMC046 

 

Can you please provide screenshot the error message that you get when you accept the remote update? 

 

Thanks 

Jaishree R

DMC046
Tera Contributor

Hi @JaishreeRJaishreeR, the issue has been resolved thanks for reaching out to me,

Hi @DMC046  - Glad that your issue got resolved.