Register an application in Microsoft Entra ID
An app registration in Microsoft Entra ID holds the credentials and application permissions for the integration.
Create the app registration
Sign in to the Microsoft Entra admin center.
- If you have access to multiple tenants, click the Settings (gear) icon in the top-right corner.
- Select the desired tenant from the list under Directory + subscription.
- Open Entra ID > App registrations.
- Click New registration.
- Name: A name that identifies this integration
- Supported account types: Accounts in this organizational directory only for single-tenant access
- Click Register.

Copy the Client ID and Tenant ID
The app’s Overview page opens after registration. Its Essentials section lists both values.
- Copy the Application (client) ID across to Client ID.
- Copy the Directory (tenant) ID across to Tenant ID.

Add the application permissions
From the left menu under Manage, select API permissions.
- Click Add a permission.
- Select Microsoft Graph.
- Select Application permissions.
- Expand each category that starts with DeviceManagement and select each permission listed.
- Click Add permissions.

Grant admin consent
On the API permissions page, grant consent on behalf of the organization.
- Click Grant admin consent for [tenant name].
- Select Yes.
- Verify that the Status column shows a green checkmark for each permission.
Create the client secret
From the left menu under Manage, select Certificates & secrets.
- Under the Client secrets tab, click New client secret.
- Description: What the secret is used for
- Expires: How long the secret stays valid
- Click Add.

Copy the Client Secret
The Value of the new client secret is shown only once.
- Copy the Value across to Client Secret.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions