M365DSC.mgx

2.0.0

Resilient companion for Microsoft.Graph PowerShell. Adds retry, circuit breaker, rate limiting, streaming pagination, batching, and fan-out to any Graph API endpoint.

Minimum PowerShell version

7.6

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name M365DSC.mgx

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name M365DSC.mgx

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Thomas Maillo Grome, (c) 2026 Fabien Tschanz. All rights reserved.

Package Details

Author(s)

  • Thomas Maillo Grome Fabien Tschanz

Tags

Microsoft Graph MicrosoftGraph API Azure EntraID Resilience PowerShell Polly Retry RateLimit Batch Delta Throttling Pagination

Cmdlets

Invoke-MgxRequest Invoke-MgxBatchRequest Export-MgxCollection Expand-MgxRelation Set-MgxOption Get-MgxOption Enable-MgxResilience Disable-MgxResilience Get-MgxResilience Get-MgxTelemetry Sync-MgxDelta

PSEditions

Core

Dependencies

Release Notes

v2.0.0 (BREAKING)
- BREAKING: Invoke-MgxRequest, Invoke-MgxBatchRequest, Expand-MgxRelation, and Sync-MgxDelta now emit case-insensitive Hashtables instead of PSObjects. Graph property order is no longer preserved, and the Mgx.User/Group/Application/ServicePrincipal/DirectoryRole/BatchResult table views were removed (PowerShell always renders a hashtable with the built-in Name/Value view). Use Format-Table or Select-Object to pick columns.
- BREAKING: `@odata.type` is now returned verbatim instead of being renamed to `ODataType`. Update any code reading `.ODataType` to read `.'@odata.type'`. Read results now round-trip cleanly into -Body on PATCH/POST.
- Expand-MgxRelation -InputObject and the Invoke-MgxRequest fan-out pipeline parameter accept hashtables, PSCustomObjects, and (for fan-out) bare ID strings.
- Invoke-MgxBatchRequest accepts hashtables with Url/Method/Body, so its own output can be piped back in.

FileList

Version History

Version Downloads Last updated
2.0.0 (current version) 6 8/5/2026