Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English Edit

Share via

Facebook x.com LinkedIn Email

Microsoft Graph PowerShell

Use Microsoft Graph PowerShell to manage identities and automate administrative tasks at scale.

About Microsoft Graph PowerShell

Overview

  • Overview of Microsoft Graph PowerShell

Get started

  • Install the SDK
  • Get started with Microsoft Graph PowerShell
  • Navigate the SDK

Upgrade from Azure AD PowerShell

Get started

  • Migration steps
  • Azure AD to Microsoft Graph cmdlet Map
  • Migration FAQ

Common use cases

How-To Guide

  • Discover commands using Find-MgGraphCommand
  • Discover command permissions using Find-MgGraphPermission
  • Discover Microsoft Graph PowerShell authentication cmdlets

Tutorial

  • Enable app-only authentication
  • Manage access to resources
  • Assign Microsoft Entra roles in PIM
  • Manage PIM policies
  • Grant and revoke API permissions

Explore Microsoft Graph PowerShell reference

Reference

  • V1.0 cmdlet reference
  • Beta cmdlet reference

Help and support

Reference

  • Troubleshoot common errors in Microsoft Graph PowerShell
  • Permissions reference
  • Advanced query capabilities
  • API reference
  • Microsoft Q&A
en-us
Your Privacy Choices
  • AI Disclaimer
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025