Skip to main content

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

  1. Register an app in Entra ID with the appropriate Graph permissions.
  2. Use DeviceManagementManagedDevices.ReadWrite.All and similar scopes.
  3. Authenticate with client credentials or delegated flow.
  4. Call endpoints under https://graph.microsoft.com/v1.0/deviceManagement/.