Intune and Microsoft Graph API
Automate Intune management tasks using the Microsoft Graph API.
Video
Why Graph API?
- Automation: Script bulk operations — create policies, assign apps, query devices.
- Integration: Connect Intune data with other systems (ITSM, reporting, alerting).
- Capabilities beyond the UI: Some settings and operations are only available via API.
Getting Started
- Register an app in Entra ID with the appropriate Graph permissions.
- Use
DeviceManagementManagedDevices.ReadWrite.Alland similar scopes. - Authenticate with client credentials or delegated flow.
- Call endpoints under
https://graph.microsoft.com/v1.0/deviceManagement/.