Microsoft product namesMicrosoft has renamed several products referenced in older guides. Azure Active Directory is now Microsoft Entra ID, and Microsoft Endpoint Manager is now the Microsoft Intune admin center. Menu labels in the Microsoft portals may differ slightly from the steps below as Microsoft updates its interface.
Use cases
The Microsoft Intune plugin is a good fit for apps that need to:Prerequisites
To integrate and configure the Intune Mobile SDK into your app, ensure you have the following:- Microsoft Intune account
- Client ID
- Tenant ID
- Client secret
Integration guide
1
Register your app and get the Client ID and Tenant ID
Register your app in Microsoft Entra ID to get your Client ID and Tenant ID.
- Sign in to the Azure portal.
- Under Azure services, select Microsoft Entra ID.
- In the left menu, select App registrations.
- Select New registration.
- Enter a name for your app, and under Supported account types, select Accounts in this organizational directory only.
- Select Register.
- On the app’s Overview page, copy the Application (client) ID and Directory (tenant) ID. You’ll need both values later.
2
Create a client secret
Create a client secret that your app uses to authenticate with Microsoft.
- In the left menu, select Certificates & secrets.
- Under Client secrets, select New client secret.
- Enter a description, such as Client Secret for [your app name].
- Under Expires, choose an expiration period that follows your organization’s security policy.
- Select Add.
- Copy the secret’s Value.
3
Grant Microsoft Graph API permissions
Give your app read access to devices and groups, and permission to manage Intune devices.
- In the left menu, select API permissions.
- Select Add a permission, then select Microsoft Graph.
- Select Application permissions.
- Search for and select each permission in the table above, then select Add permissions.
- Select Grant admin consent for [your organization], then select Yes to confirm.