跳至主要内容

此浏览器不再受支持。

请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。

下载 Microsoft Edge 有关 Internet Explorer 和 Microsoft Edge 的详细信息
使用英语阅读 编辑

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
zh-cn
你的隐私选择
  • AI 免责声明
  • 早期版本
  • 博客
  • 参与
  • 隐私
  • 消费者健康隐私
  • 使用条款
  • 商标
  • © Microsoft 2026