Unexpected exception. Please see server logs for details
Last updated
Was this helpful?
The following error message appears when attempting to connect using Entra ID SSO after a Devolutions Server update:
{"errorMessage" :"Unexpected exception. Please see server logs for details.","result":0}
Open Devolutions Server Console and go to Server - Logs.
Find the following error in the logs:
OAuthTokenEndpointException - OAuth token endpoint error: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided.Confirm that the secret sent in the request is the client secret value, not the client secret ID, for a secret added to the application.
Go to the Devolutions Server web app in the Entra ID Portal.
Make sure the API permission is properly set and granted in Entra ID's Home – App registration – API permissions. Also ensure that the application registration is configured to Web and check if the address is correct.
Create a new secret and copy its value. Set a reminder one month before its expiration using your preferred method.
In the Devolutions Server web interface, head over to Administration – Server settings – Authentication – Microsoft authentication. Then:
Paste the new client secret.
Disable Use specific client ID for users and user groups cache..
Click on the Reset cache button.
Save your changes.
Last updated
Was this helpful?
Was this helpful?