Why am I getting an error "Server returned HTTP response code: 401 for URL" when I try to login?


I can not access my tenant as I am getting the following error.

"Error on request https://login.microsoftonline.com/18a59a81-eea8-4c30-948a-d8824cdc2580/oauth2/v2.0/token: Server returned HTTP response code: 401 for URL: https://login.microsoftonline.com/



The common cause of this problem (when the customer is using SSO) is caused by the fact that the configured OAuth clientId/clientSecret was expired. A new clientId/clientSecret should be generated.


The customer can correct the problem (if they have ROLE_ADMIN_CUSTOMER defined) by applying the new clientID/clientSecret.




Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.