mgx
2.1.4
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.4
Installation Options
Owners
Copyright
(c) 2026 Thomas Maillo Grome. All rights reserved.
Package Details
Author(s)
- Thomas Maillo Grome
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 Get-MgxContent
PSEditions
Dependencies
This module has no dependencies.
Release Notes
v2.1.4
Fixed
- Interrupted exports resume safely: unreadable, foreign, legacy, and case-differing checkpoints are handled without data loss or duplication.
- Batch items the server answered keep their results through chunk failures; the dead-letter file never contains an applied write.
- Batch summaries count only sent operations, and any chunk refusal reads as a failure.
- A stalled response or error body fails at the body-read timeout in the error contract's terms.
- A UTF-8 byte-order mark no longer discards fan-out, bulk-write, or expanded-relation results.
- Headers, telemetry ratios, and flags enum combinations render culture-invariantly with their attribute-supplied names.
- Removing the module restores the SDK's own client; re-enabling resilience never stacks wrappers.
- A resuming run never takes a file a live run is writing, and never resumes a checkpoint it gave up on.
- A caller's stop keeps the next retry off the wire; completed runs leave no abandoned partial files.
Added
- Ecosystem isolation matrix over Az.Accounts, PnP.PowerShell, and ExchangeOnlineManagement, with its own CI job.
See CHANGELOG.md for the full list.
FileList
- mgx.nuspec
- mgx.psd1
- Mgx.Cmdlets.pdb
- Dependencies\Polly.Core.dll
- en-US\about_Mgx.help.txt
- help\Get-MgxContent.md
- help\Get-MgxOption.md
- help\Set-MgxOption.md
- help\Invoke-MgxRequest.md
- help\Sync-MgxDelta.md
- mgx.Format.ps1xml
- Mgx.Cmdlets.dll
- Mgx.Cmdlets.deps.json
- Dependencies\System.Threading.RateLimiting.dll
- en-US\about_Mgx_Errors.help.txt
- help\Disable-MgxResilience.md
- help\Export-MgxCollection.md
- help\Get-MgxResilience.md
- help\Expand-MgxRelation.md
- help\Get-MgxTelemetry.md
- mgx.psm1
- Mgx.Engine.dll
- Mgx.Engine.pdb
- en-US\Mgx.Cmdlets.dll-Help.xml
- en-US\about_Mgx_Tuning.help.txt
- help\Enable-MgxResilience.md
- help\Invoke-MgxBatchRequest.md