mgx
2.1.5
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.5
Fixed
- Two runs resuming or recovering one interrupted export or sync no longer write into the same file: the second stops and names the file the first holds.
- Recovering an interrupted run never follows a link, waits on a pipe, or starts over on a copy that failed; every stop says what going on would have done and leaves both files as found.
- A checkpoint from before 2.1 keeps the temp file it stands for when another run refuses it, and Sync-MgxDelta recovers that shape as Export-MgxCollection does.
- Invoke-MgxBatchRequest refuses an item it cannot read instead of ending the run, cuts every pre-authenticated URL from the dead-letter file, checks the file before sending, and keeps item errors and telemetry under a Stop preference.
- Set-MgxOption previews and prompts only for a change it makes; Invoke-MgxRequest asks its checkpoint question once per run; -WhatIf previews on every cmdlet report what the run would do.
- Removing the module returns every option, the endpoint and the telemetry counters to their defaults.
Added
- A committed benchmark baseline with a comparison run, a programmable fault plan for the mock Graph server, and pathological and interference gauntlets.
- Fault injection at every point of an operation, pagination checks at page-size boundaries, and a help-freshness test over the compiled help.
See CHANGELOG.md for the full list.
FileList
- mgx.nuspec
- .DS_Store
- mgx.psm1
- Mgx.Cmdlets.dll
- Mgx.Cmdlets.deps.json
- Dependencies\System.Threading.RateLimiting.dll
- en-US\about_Mgx.help.txt
- help\Get-MgxContent.md
- help\Get-MgxOption.md
- help\Set-MgxOption.md
- help\Expand-MgxRelation.md
- mgx.psd1
- Mgx.Engine.dll
- Mgx.Engine.pdb
- Dependencies\System.IO.Pipelines.dll
- en-US\about_Mgx_Errors.help.txt
- help\Disable-MgxResilience.md
- help\Export-MgxCollection.md
- help\Get-MgxResilience.md
- help\Sync-MgxDelta.md
- mgx.Format.ps1xml
- .build-hash
- Mgx.Cmdlets.pdb
- Dependencies\Polly.Core.dll
- en-US\Mgx.Cmdlets.dll-Help.xml
- en-US\about_Mgx_Tuning.help.txt
- help\Enable-MgxResilience.md
- help\Invoke-MgxBatchRequest.md
- help\Invoke-MgxRequest.md
- help\Get-MgxTelemetry.md