For the complete documentation index, see llms.txt. This page is also available as Markdown.

Unexpected exception. Please see server logs for details

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}

Solutions

  1. Open Devolutions Server Console and go to Server - Logs.

  2. Find the following error in the logs:

OAuthTokenEndpointException - OAuth token endpoint error: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided.
  1. 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.

  2. Go to the Devolutions Server web app in the Entra ID Portal.

    1. Make sure the API permission is properly set and granted in Entra ID's HomeApp registrationAPI permissions. Also ensure that the application registration is configured to Web and check if the address is correct.

    2. Create a new secret and copy its value. Set a reminder one month before its expiration using your preferred method.

  3. In the Devolutions Server web interface, head over to AdministrationServer settingsAuthenticationMicrosoft authentication. Then:

    1. Paste the new client secret.

    2. Disable Use specific client ID for users and user groups cache..

    3. Click on the Reset cache button.

    4. Save your changes.

Last updated

Was this helpful?