Configure Microsoft authentication with Entra ID

Configure Microsoft Entra ID and Devolutions Server properly to use Microsoft authentication by following the instructions below.

Requirements

  • Devolutions Server scheduler installed and running

  • A Microsoft Entra ID subscription

  • An Entra ID web application for the Devolutions Server web application and the cache

Creation of Entra ID applications and Devolutions Server Microsoft configuration

To simplify the configuration steps and to easily copy and paste all the required parameters, keep the Devolutions Server and Azure Portal web pages open side by side throughout the whole process.

In Devolutions Server

  1. Log in to your Devolutions Server and navigate to Administration – Server settings – Authentication.

  2. Under Authentication modes, ensure Authenticate with Microsoft user is enabled.

  3. Under Configuration, click on Microsoft authentication.

In the Azure Portal

  1. Log in to your Microsoft Azure Portal using administrator credentials.

  2. Once logged in, select Microsoft Entra ID in the Azure services section. If you do not see it, click on More services to make other services appear or search for it in the search bar.

  1. In Properties, copy the Tenant ID value.

In Devolutions Server

  1. Paste this value in the Tenant ID field of the Devolutions Server Microsoft Authentication configuration page.

The Use specific client ID for users and user groups cache option should only be check to support configurations when migrating from an older Devolutions Server version.

In the Azure Portal

  1. In the Manage menu section, click App registrations then New registration.

  1. Enter a significant name for the application. This name will not be used outside of the Azure Portal.

  2. Set which Supported account types are allowed to connect. Usually, selecting Accounts in this organizational directory only is more than enough for your Entra ID authentication.

  3. Set the Redirect URI to Web and enter a valid URL, the URL to reach your Devolutions Server instance. Append /api/external-provider-response at the end.

  1. Click on Register.

  2. Click on Copy to clipboard next to Application (client) ID.

In Devolutions Server

  1. Paste the Application (client) ID in the Client ID field.

In the Azure Portal

  1. In the Certificates & secrets section, click New client secret.

    Note that when the client secret expires, no one will be able to connect to the associated Devolutions Server instance. You will then need to create a new client secret. We recommend that you set yourself a task reminder before the expiration date.
  1. Enter a description and set an expiry date.

  1. Click Add.

  2. Copy the Value. Be sure to save the Value in a safe place before switching to another Azure Portal page, as the copy button will no longer be available.

In Devolutions Server

  1. Paste the Value in the Secret value field.

In the Azure Portal

  1. In the API permissions section, click on Add a permission.

  1. Select Microsoft Graph.

  1. Select Application permissions.

  1. Select Group.Read.All under the Group section and User.Read.All under the User section.

  1. Click on Add permissions.

  2. Click the three dots next to the User.Read permission and remove it.

  1. Confirm the removal by clicking Yes, remove since this permission is not required for the sync application.

  2. If the Status of the User.Read.All and Group.Read.All permissions is set to Not granted, an administrator must grant consent. If the account used to create the application is already an administrator in Azure, click on Grant admin consent for <your organization>.

In Devolutions Server

  1. Click Save.

You should now be able to use the Microsoft button on the web interface.

After activating the Microsoft authentication, it may take a while for the cache to load before being able to import users and user groups.

Following the login process, you may get a prompt to authorize the application to read the user accounts and groups. Check the Consent on behalf of your organization box then click Accept.

Devolutions Forum logo Share your feedback