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
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
Dependencies
-
- Microsoft.Graph.Authentication (>= 2.10.0)
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
- M365DSC.mgx.nuspec
- Dependencies\Polly.Core.dll
- Dependencies\System.Threading.RateLimiting.dll
- M365DSC.mgx.Format.ps1xml
- M365DSC.mgx.psd1
- M365DSC.mgx.psm1
- Mgx.Cmdlets.deps.json
- Mgx.Cmdlets.dll
- Mgx.Cmdlets.pdb
- Mgx.Engine.dll
- Mgx.Engine.pdb
- en-US\Mgx.Cmdlets.dll-Help.xml
- en-US\about_Mgx.help.txt
- en-US\about_Mgx_Tuning.help.txt
- help\Disable-MgxResilience.md
- help\Enable-MgxResilience.md
- help\Expand-MgxRelation.md
- help\Export-MgxCollection.md
- help\Get-MgxOption.md
- help\Get-MgxResilience.md
- help\Get-MgxTelemetry.md
- help\Invoke-MgxBatchRequest.md
- help\Invoke-MgxRequest.md
- help\Set-MgxOption.md
- help\Sync-MgxDelta.md
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.0.0 (current version) | 6 | 8/5/2026 |