Connect-MgGraph — Basic UsageIT technician command center
Microsoft Graph · Entra ID and Graph

Connect-MgGraph — Basic Usage

Use Connect-MgGraph for a standard administrative task.

Copy-ready commandConnect-MgGraph — Basic Usage
Connect-MgGraph -Scopes "User.Read.All"

Requirements and permissions

Requirements
Microsoft.Graph PowerShell SDK
Permissions
Graph delegated or application permissions
Last reviewed
2026-07-31

Examples

Basic Usage

Use Connect-MgGraph for a standard administrative task.

Connect-MgGraph -Scopes "User.Read.All"

Original command

Connect to Microsoft Graph PowerShell.

Connect-MgGraph -Scopes "User.Read.All"

Common errors

Command not found

Confirm Microsoft.Graph PowerShell SDK is installed and available in your current shell.