Spring til hovedindhold

Denne browser understøttes ikke længere.

Opgrader til Microsoft Edge for at drage fordel af de nyeste funktioner, sikkerhedsopdateringer og teknisk support.

Download Microsoft Edge Flere oplysninger om Internet Explorer og Microsoft Edge
Læs på engelsk Rediger

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
da-dk
Dine valg af beskyttelse af personlige oplysninger
  • AI-ansvarsfraskrivelse
  • Tidligere versioner
  • Blog
  • Bidrag
  • Beskyttelse af personlige oplysninger
  • Beskyttelse af personlige oplysninger for forbrugerbeskyttelse
  • Vilkår for anvendelse
  • Varemærker
  • © Microsoft 2026