跳到主要內容

已不再支援此瀏覽器。

請升級至 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-tw
您的隱私權選擇
  • AI 免責聲明
  • 舊版本
  • 部落格
  • 參與
  • 隱私權
  • 消費者健康隱私
  • 使用規定
  • 商標
  • © Microsoft 2026