Skip to main content
You must have at least Application Developer permissions in your Azure account to register applications in Microsoft Entra ID. A Global Administrator must grant admin consent for the required delegated permissions. The tenant must have an active Microsoft Intune license (Plan 1 or Plan 2).

Register an application in Microsoft Entra ID

An app registration in Microsoft Entra ID holds the credentials and delegated permissions for the integration. API access is controlled by the permissions granted to the app and by the Intune role assigned to the signing-in user.

1

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
  • Redirect URI (optional): select Web, then enter the Callback URL from your Connector Profile
  • Click Register.
Register an application form with Name field, Supported account types dropdown, optional Redirect URI section, and Register button.
2

Copy the Client ID

The app’s Overview page opens after registration. Its Essentials section lists the Application (client) ID.

  • Copy the Application (client) ID to Client ID in your Connector Profile.
App registration Overview page showing Essentials section with Application (client) ID and Directory (tenant) ID values.
3

Add the delegated permissions

Enables actions: Assign Device Compliance Policy, Assign Device Configuration, Assign Device Enrollment Configuration, Assign Mobile App, Bypass Activation Lock, Clean Windows Device, Create Role Definition, Delete Device Compliance Policy, Delete Device Configuration, Delete Managed Device, Delete Role Definition, Disable Lost Mode, Get Detected App, Get Device Category, Get Device Compliance Policy, Get Device Configuration, Get Device Enrollment Configuration, Get Managed Device, Get Mobile App, Get Mobile App Category, Get Role Definition, List Detected App Managed Devices, List Detected Apps, List Device Compliance Policies, List Device Configurations, List Device Enrollment Configurations, List Managed Devices, List Mobile App Categories, List Mobile Apps, List Role Assignments, List Role Definitions, Locate Device, Reboot Device, Remote Lock, Reset Passcode, Retire Managed Device, Set Enrollment Priority, Shut Down Device, Sync Device, Update Role Definition, Windows Defender Scan, Windows Defender Update Signatures, Wipe Managed Device

From the left menu under Manage, select API permissions.

  • Click Add a permission.
  • Select Microsoft Graph.
  • Select Delegated permissions.
  • Expand each category that starts with DeviceManagement and select each permission listed.
  • Click Add permissions.
Request API permissions panel asking what type of permissions the application requires, with Delegated permissions and Application permissions options.
4

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.
5

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.
Add a client secret dialog with Description text field and Expires dropdown defaulting to Recommended 180 days (6 months), plus Add and Cancel buttons.
6

Copy the Client Secret

The Value of the new client secret is shown only once.

  • Copy the Value to Client Secret in your Connector Profile.

Find your tenant ID (single-tenant apps only)

Your tenant ID identifies your Microsoft Entra directory.

1

Copy the Directory (tenant) ID

Sign in to the Microsoft Entra admin center, then open Entra ID > App registrations.

  • Select your app registration.
  • Open the Overview page.
  • Copy the Directory (tenant) ID from the Essentials section across to Tenant ID.
App registration Overview page showing Essentials section with Application (client) ID and Directory (tenant) ID values.

Create the StackOne Connector Profile

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.