- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 01:41 PM
Does the password value inside a Basic Auth Configuration (in the sys_auth_profile_basic table) get retained when moving from one instance to another?
We have a Basic Auth Config inside a scoped application. When we publish the application from our dev instance (Instance 1) to a repository and install the application on 2nd instance (Instance 2), we can see the Basic Auth Config record appears on Instance 2. However, it seems like the password value is being wiped, since using the profile to call an API is resulting in a 401-unauthenticatederror. Is this intended behavior?
When I manually update the password value on Instance 2, the auth profile is working as expected.
I do not see anything in the documentation that mentions that this password would not be retained, however I found one comment in the community that implies you need to manually update the value in each new instance. That comment is the accepted solution in the question linked below.
https://community.servicenow.com/community?id=community_question&sys_id=054a47a9db5cdbc01dcaf3231f9619f4&view_source=searchResult
Solved! Go to Solution.
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 07:23 AM
Hello,
If you will migrate the xml from one instance to another then password will be same , in other cases like migrating using update set it will not save the password and you need to update it manually in all instances after migration.
So in this case its better to migrate using XMLs.
Thanks.
Please do mark my response as helpful/Correct in case your query is solved so that it will help others in future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 07:23 AM
Hello,
If you will migrate the xml from one instance to another then password will be same , in other cases like migrating using update set it will not save the password and you need to update it manually in all instances after migration.
So in this case its better to migrate using XMLs.
Thanks.
Please do mark my response as helpful/Correct in case your query is solved so that it will help others in future.