Intune Device Handler

How to create API connection

Create an App registration in the customers Entra, with the following Application API permissions:

  • DeviceManagementManagedDevices.ReadWrite.All (Intune Managed Devices)
  • DeviceManagementServiceConfig.ReadWrite.All (Autopilot Devices)

Make sure to grant admin consent for the permissions.

Save the values needed to create the connection file.

How to create connection file

Create a .json file with the following content (replace with your own values) and select it as your Connection File:

{
  "tenant_name_or_id": "Name or ID of your Entra tenant",
  "client_id": "Client ID of your app registration",
  "client_secret": "Client secret value",
  "client_secret_id": "Client secret ID",
  "object_id": "Client object ID of your app registration"
}
App mode
Connection File
Device selection
Actions
Log