Invoke-MgGraphRequestIT technician command center
Microsoft Graph · Entra ID and Graph

Invoke-MgGraphRequest

Call Microsoft Graph directly.

Copy-ready commandInvoke-MgGraphRequest
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization"

Requirements and permissions

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

Examples

Basic example

Call Microsoft Graph directly.

Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization"

Common errors

Command not found

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