Register Your Application in Microsoft Entra ID
Register an application in Microsoft Entra ID to obtain the OAuth 2.0 client credentials StackOne uses to run the authorization code flow.
Sign in to Microsoft Entra Admin Center
Sign in to the Microsoft Entra admin center as at least an Application Developer. If you have access to multiple tenants, click the Settings (gear) icon in the top-right corner, then select the desired tenant from the list under Directory + subscription.
Navigate to App Registrations
In the left navigation under Entra ID, click App registrations. You will see a list of your existing registered applications.

Create a New App Registration
Click New registration in the toolbar at the top of the page.
- Enter a meaningful Name for your app (e.g., StackOne Intune Integration).
- Under Supported account types, select Accounts in this organizational directory only for single-tenant access.
- Leave the Redirect URI (optional) section blank for now — you will configure it in the next section.
- Click Register to create the app registration.

Copy the Application (Client) ID
After registration, you will be directed to the application’s Overview page. In the Essentials section, locate Application (client) ID and copy its value. Paste it into the Client ID field when setting up the integration.

Configure Redirect URI
Set up the OAuth 2.0 callback URL to enable the authentication flow between StackOne and Microsoft Intune.
Navigate to Authentication Settings
From your app’s left menu under Manage, select Authentication (Preview).
Add a Redirect URI
Under Redirect URI configuration, click + Add Redirect URI. On the Select a platform to add redirect URI panel that opens, select Web under Web applications.
Set the Redirect URI
In the Redirect URI field that appears, enter the StackOne OAuth callback URL and click Configure.
- Redirect URI —
https://api.stackone.com/connect/oauth2/microsoftintune/callback
Configure API Permissions
Grant your application the Microsoft Graph delegated permissions required for Intune device management. API access is controlled by the permissions granted here and by the Intune role assigned to the signing-in user.
Open API Permissions
From the left menu under Manage, select API permissions.

Select Microsoft Graph
Click Add a permission, then select Microsoft Graph from the commonly used Microsoft APIs.

Choose Delegated Permissions
Select Delegated permissions — the application accesses the API as the signed-in user.

Add the DeviceManagement Permissions
Expand each DeviceManagement category (e.g., DeviceManagementManagedDevices, DeviceManagementConfiguration, DeviceManagementApps, DeviceManagementRBAC, DeviceManagementServiceConfig) to find and select the individual permissions. Click Add permissions to save.
For read-only access, select all .Read.All scopes. For full read-write access, select all listed scopes. Remote device actions (wipe, lock, reboot) additionally require DeviceManagementManagedDevices.PrivilegedOperations.All.
Grant Admin Consent
Click Grant admin consent for [tenant name] and select Yes to consent on behalf of the organization. After granting, verify that the Status column shows a green checkmark for each permission. Without admin consent, API calls return 403 Forbidden errors.
Generate Client Secret
Create a client secret that StackOne uses to exchange the authorization code for tokens.
Navigate to Certificates & Secrets
From the left menu under Manage, select Certificates & secrets.

Create a New Client Secret
Under the Client secrets tab, click New client secret.
- Add a Description (e.g., StackOne Intune Integration Secret).
- Select an appropriate expiration period from the Expires dropdown.
- Click Add.

Copy the Client Secret Value
Immediately copy the Value of the newly created client secret and paste it into the Client Secret field. This value is only shown once and cannot be retrieved again.
Configure Scopes (Optional)
The Scopes field is optional. If left blank, it defaults to https://graph.microsoft.com/.default offline_access, which requests every permission granted to the app registration. When supplying custom scopes, separate them with spaces and always include offline_access (required for refresh tokens) — for example DeviceManagementManagedDevices.Read.All DeviceManagementConfiguration.Read.All offline_access for read-only access.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Microsoft Intune:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Microsoft Intune
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile