Error status code Unauthorized - Get-D365LcsDatabaseOperationStatus #700
Unanswered
navdeep197
asked this question in
Q&A
Replies: 1 comment
-
What probably happens is that the authentication token expires. Take a look at #580 for some pointers on how to build a script that will refresh the token while waiting for a long operation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I am using Get-D365LcsDatabaseOperationStatus command in one of my script for database refresh.
Occasionally , the script does not work as intended and I get Authentication issues. Can someone in the group provide some suggestion how can I avoid authentication issues. If you see the log below , there was no authentication issue at 2:34:10 but I start to geet 401 from 2:35:10 onwards.
Regards,
Navdeep
Beta Was this translation helpful? Give feedback.
All reactions