Skip to main content
Median’s Microsoft Intune plugin integrates the Intune App SDK into your iOS and Android apps, so you can manage devices and protect corporate data with Mobile Device Management (MDM) and Mobile Application Management (MAM) through Microsoft Intune. For details on the SDK itself, see the official Microsoft Intune App SDK documentation.
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
The implementation steps below showcase where to find each of the required configuration parameters.

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.
  1. Sign in to the Azure portal.
  2. Under Azure services, select Microsoft Entra ID.
  3. In the left menu, select App registrations.
  4. Select New registration.
  5. Enter a name for your app, and under Supported account types, select Accounts in this organizational directory only.
  6. Select Register.
  7. 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.
  1. In the left menu, select Certificates & secrets.
  2. Under Client secrets, select New client secret.
  3. Enter a description, such as Client Secret for [your app name].
  4. Under Expires, choose an expiration period that follows your organization’s security policy.
  5. Select Add.
  6. Copy the secret’s Value.
Copy the secret nowThe secret value is only shown once, right after you create it. Copy it before you leave the page. If you lose it, you’ll need to create a new secret.
3

Grant Microsoft Graph API permissions

Give your app read access to devices and groups, and permission to manage Intune devices.
  1. In the left menu, select API permissions.
  2. Select Add a permission, then select Microsoft Graph.
  3. Select Application permissions.
  4. Search for and select each permission in the table above, then select Add permissions.
  5. Select Grant admin consent for [your organization], then select Yes to confirm.
When consent is granted, the Status column shows Granted for [your organization] for each permission.

Technical best practices

Follow the principle of least privilege

Grant only the three permissions listed above. Avoid adding additional Microsoft Graph permissions to this app registration unless Median or Microsoft documentation requires them.

Use a dedicated app registration

Create a separate app registration for each Median app and each environment (for example, testing and production). This makes it easier to rotate credentials, audit access, and revoke access without affecting other apps.

Rotate secrets before they expire

Choose the shortest expiration period your team can manage, and rotate the Client Secret before it expires. After rotating, update the value in Median and rebuild your app if required.

Protect your credentials

Store the Client Secret in a secrets manager or password vault. If you suspect it has been exposed, delete it in Certificates & secrets and create a new one immediately. Confirm that all three permissions show Granted in the Status column before testing on a device. Missing consent is the most common cause of Intune configuration errors.

Troubleshooting

Last modified on November 7, 2026