Automate endpoint management using PowerShell and Microsoft Graph

Intermediate
Administrator
Microsoft 365
Windows
Microsoft Intune

Automate and optimize endpoint management using Microsoft Intune together with Microsoft Graph and PowerShell. Script common Intune tasks, manage devices at scale, integrate security signals, and build repeatable, audit-friendly workflows.

Learning objectives

In this module, you'll learn how to:

  • Use Microsoft Graph and the Microsoft Graph PowerShell SDK to script common Intune tasks.
  • Query device inventory, filter devices, and update device properties programmatically.
  • Integrate Microsoft Defender and mobile threat defense signals into automation workflows.
  • Register Microsoft Entra ID applications and apply least-privilege Graph permissions.
  • Build repeatable scripts and runbooks for scheduled and event-driven automation.

Prerequisites

  • Basic knowledge of Microsoft Intune concepts (policies, profiles, apps, and compliance).
  • Familiarity with Microsoft Entra ID and role-based access control (RBAC).
  • Basic PowerShell experience, including running scripts and installing modules.
  • Access to a Microsoft 365 tenant with Intune administration permissions for testing.