Invalid client ID or secret with Microsoft SSO
To following message may appear when trying to sign into a Devolutions Cloud using Microsoft Single Sign-On (SSO): "The client ID or secret supplied by your organization is invalid, please contact an administrator of your organization."
Solution
This most likely means that the Microsoft Azure Portal client secret is expired. The solution is to create a new secret and change it in the Devolutions Cloud' SSO configuration.
Verify the client secret expiration date
In a new web browser page, sign into Microsoft Azure Portal.
Select Microsoft Entra ID in the Azure services section. If it is not immediately visible, click on More services.
Click on App registrations in the left menu.
In the list, click on the application that was used to configure SSO in the problematic Devolutions Cloud instance.
Click on Certificates & secrets in the left menu.
Locate the secret that is currently used for Devolutions Cloud' SSO configuration and see if it is expired in the Expires column.
If it is indeed expired, this is most likely the cause of the connection issue. The next step is to create a new client secret and change it in Devolutions Cloud' SSO configuration.
Create a new client secret
Click on New client secret.
In the Add a client secret window, enter a Description (for example, the name of the Enterprise app) and select an expiration date for this client secret, as per your best internal security practices.
Click Add.
Copy the Value of this new client secret by clicking on the Copy to clipboard icon next to it.
The expired client secret can be deleted without any issue since it is expired and cannot be used anymore.
Update the client secret in Devolutions Cloud
Log in to Devolutions Cloud with your Devolutions Account.
If the Force SSO on all users option is enabled, logging in will not be possible with your Devolutions Account. In this case, contact our customer support team to request the disabling of this option.
Once logged in, go to Administration – Authentication – Single Sign-On (SSO), then select your Microsoft SSO configuration.
The Client secret key field is greyed out and cannot be edited directly. Click the X button in the field to clear the existing key.
Click the Paste button (clipboard icon) next to the field to paste the new client secret. The field can only be populated this way. It cannot be typed in directly.
Click Test Configuration.
If the connection is successful, your account will connect with Entra ID and a summary of the configuration will be displayed.
In the Summary of the configuration, click Save.
Last updated
Was this helpful?