Invoke-MgGraphRequest — Export ResultsIT technician command center
Microsoft Graph · Entra ID and Graph

Invoke-MgGraphRequest — Export Results

Export the output of Invoke-MgGraphRequest for documentation or review.

Copy-ready commandInvoke-MgGraphRequest — Export Results
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation

Requirements and permissions

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

Examples

Export Results

Export the output of Invoke-MgGraphRequest for documentation or review.

Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation

Original command

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.