Link Microsoft Entra ID

Linking Microsoft Entra ID with Relution creates the foundation for Microsoft-based integrations in the organization. This includes, for example, connecting Windows devices and using other Microsoft services together with Relution.

As a result, users and groups from Microsoft Entra ID can be synchronized with Relution. This allows user accounts to be managed centrally in Microsoft and automatically provisioned in Relution.

To allow synchronized users to sign in to Relution, OIDC authentication → must also be configured. If access is to be secured using Conditional Access →, both the link to Microsoft Entra ID and the configuration of OIDC → are required.

The required settings are configured partly in Relution and partly in the Microsoft Entra admin center.


Requirements

To link Microsoft Entra ID with Relution, the following requirements must be met when only synchronizing users from Microsoft Entra ID to Relution:

  • an existing Microsoft Entra ID environment
  • sufficient permissions in Microsoft Entra, usually the Global Administrator role
  • an accessible Relution Server
  • an app registration in Microsoft Entra

If Windows Autopilot or Entra Join is also to be used, the following additional requirements must be met:

  • the server URL of the Relution Server, which will later be stored in Microsoft Entra
  • a created MDM application

In the Relution portal, the setup area is found under Settings → User Management → Entra ID.

There, a guide provides support for configuring and linking Microsoft Entra. It covers the steps Create application, Application IDs, Permissions, Redirect URIs and Services.

Entra ID tile under User Management in the Relution settings


Create the application

The first step, Create application, points out that the connection requires an application in the Entra portal. The Open Entra ID button opens the Mobility (MDM and MAM) area in Microsoft Entra. Below it, the Relution guide shows the values that are entered in the MDM application:

Create application step in the Relution wizard for Entra ID

  • MDM user scope: only required for Windows Autopilot or Conditional Access. None skips the scope, All includes all users of the tenant, Some targets selected users only. If several MDM solutions share the same tenant with Autopilot or Conditional Access, each user must be assigned to exactly one MDM solution.
  • MDM terms of use URL: https://<host>/api/device/v1/windows/termsOfUse
  • MDM discovery URL: https://<host>/api/device/v1/windows/discover

The MDM application is required for Windows Autopilot and Entra Join and, according to the note in the portal, also for Conditional Access. How it is created and configured (on-premises MDM application, custom domain, URLs) is described in the Windows Autopilot → article.

To only synchronize users and groups from Microsoft Entra with Relution, a standard app registration is sufficient and this step is skipped with Next. The app registration can be created using the following link:

Create new app registration in Entra →


Configure the application settings

In the Application IDs step, the following information from Microsoft Entra is transferred to the Relution guide. It applies both to the MDM application and to a standard app registration:

  1. Application (client) ID
  2. Directory (tenant) ID
  3. the value of the Client secret (same field name in Relution)

Application IDs step in the Relution wizard with application ID, directory ID and client secret

Verify in the Verify configuration row tests right away whether Relution can sign in to Microsoft Entra with this information.

If the Directory (tenant) ID differs from the saved configuration, the Client secret must also be entered again as of Relution 26.5.5 before the check succeeds. Without it, Relution reports that the connection endpoint has changed and the secret has to be entered again. Only the tenant ID (GUID) or a domain name of the tenant is accepted as Directory (tenant) ID, i.e. letters, digits, dots and hyphens only.

If Conditional Access is already configured for the organization, Relution points out when the Directory (tenant) ID is changed that the new tenant also affects the Conditional Access setting. The app ID and secret in that setting should be checked again afterwards.

Only for an MDM application (Windows Autopilot, Entra Join): to edit the Application ID URI, it is then selected in the local MDM application settings. For a standard app registration, this and the following step are omitted.

Edit the application ID URI of the Microsoft Entra MDM application

In the following view, the corresponding server URL is entered as the Application ID URI.

Enter the server URL as the application ID URI in the Microsoft Entra MDM application

Next, a Client secret is added under Certificates & secrets:

  1. In the Client secrets tab, New client secret is clicked.
  2. In the Add a client secret dialog, a description and the validity period are entered.
  3. The entry is confirmed with Add.
If the validity period expires, the connection is no longer available and Relution can no longer communicate with Microsoft Entra. In this case, a new Client secret must be created for the application in Microsoft Entra and stored again in Relution.

Add a client secret under Certificates & secrets in Microsoft Entra

The new entry is then displayed in the overview under the Client secrets tab.

The corresponding Value is shown only once and must therefore be copied immediately and transferred to Relution.

Configure the API permissions

In the next step, Permissions, the API permissions are configured. The Open API Permissions button opens the API permissions of the application directly in Microsoft Entra:

Permissions step in the Relution wizard with the required Microsoft Graph permissions

Depending on which Microsoft features are used in the future, additional permissions may need to be added later.

The following settings must be configured in Microsoft Entra:

  1. Under API permissions → Configured permissions, Add a permission is clicked.

  2. In the Request API permissions dialog, Microsoft Graph is selected under Microsoft APIs.

    Select Microsoft Graph under Microsoft APIs for API permissions in Microsoft Entra

  3. In the next step, the Application permissions tile is selected.

    Select application permissions for Microsoft Graph in Microsoft Entra

  4. For User, the User.Read.All permission is selected.

    Enable the User.Read.All permission for Microsoft Graph in Microsoft Entra

  5. For Group, the Group.Read.All permission is selected.

    Enable the Group.Read.All permission for Microsoft Graph in Microsoft Entra

  6. For Device, the Device.ReadWrite.All permission is selected and the selection is confirmed with Add permissions.

    Add the Device.ReadWrite.All permission for Microsoft Graph in Microsoft Entra

For newly added API permissions, an exclamation mark is initially displayed as the status. For the application to receive the permissions, administrators must confirm them once using Grant admin consent for “”. The status is then shown as Granted with a green check mark.

Show API permissions in Microsoft Entra as granted after administrator consent

Verify in the Verify permissions row checks whether the permissions have been granted. Without consent, the check reports Permission not granted.


Define the redirect URI

In the Redirect URIs step, the Relution guide shows the Redirect URI that is then entered in Microsoft Entra for the Web platform. The Open Authentication button opens the corresponding page of the application in Microsoft Entra:

Redirect URIs step in the Relution wizard with the redirect URI to enter

  1. Under Authentication, Add a platform is clicked.

  2. In the Configure platforms dialog, the Web tile is selected.

    Select Web as the platform type for the redirect URI in the Microsoft Entra app registration

  3. In the Web section, the server URL is entered under Add a Redirect URI.

  4. The ID tokens checkbox is disabled.

  5. The settings are saved with Save.

Store the server URL as the redirect URI in Microsoft Entra and disable ID tokens

Verify in the Verify redirect URIs row checks whether the server URL is registered in the application. The registered URI must match the displayed server URL exactly, otherwise the check reports Redirect URI … not present.

This completes the configuration in Microsoft Entra.


Select the Relution service options and complete the setup

The Services step defines which services Relution uses. The available switches are Enable Autopilot enrollment, Sync Autopilot devices, Sync Entra ID users and Sync Entra ID groups. For a new connection, all four switches are already enabled. If only users and groups are to be synchronized (without Windows Autopilot or Entra Join), Enable Autopilot enrollment and Sync Autopilot devices are disabled.

Services step in the Relution wizard with the four synchronization and Autopilot switches

Clicking Save completes the setup and linking of Microsoft Entra ID in Relution.


Manage and synchronize the connection

After saving, Settings → User Management → Entra ID shows the overview of the Entra ID connection with the application ID and directory ID. The following functions are available there:

  • Edit connection: opens the guide again, for example to enter a new value in the Client secret field after the client secret has expired.
  • Verify connection: checks sign-in, permissions and redirect URI in one step.
  • Delete connection: removes the link to Microsoft Entra.
  • Services section: the four switches from the setup can be changed here later and applied with Save.

The Synchronisation section shows the Last Synchronisation, the New entries, any errors and the Next Synchronisation for each synchronization. By default, users and groups are synchronized once a day and Autopilot devices every 24 hours.

A synchronization can also be started manually:

  • Sync Autopilot devices synchronizes the devices registered in Windows Autopilot.
  • Sync users and groups (in the menu of the action bar) is only available if both user and group synchronization are enabled. The dialog offers a Synchronization mode: Changes only (Recommended) only fetches users and groups changed since the previous synchronization. Full synchronization re-imports all users and groups and can take a long time. It is only useful if synchronizing the changes does not provide the expected result.

In the global organization the link applies system-wide, in a meta organization meta-wide. The overview shows this under Account scope as System-wide or Meta-wide. There, Organization mapping assigns Entra ID groups to individual organizations. In this case, the switches for user and group synchronization are coupled and are always switched on or off together.


Summary

After completing these steps, Microsoft Entra ID is linked with Relution. This allows users and groups from Microsoft Entra ID to be synchronized with Relution and enables the use of additional Microsoft-related features.

To allow synchronized users to sign in to Relution, OIDC authentication → must also be configured. This also applies when using Conditional Access.

How helpful was this article?