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

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

Install-Module -Name mgx

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

Install-PSResource -Name 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. 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

Core

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

Version History

Version Downloads Last updated
2.1.5 (current version) 3 9/14/2026
2.1.4 13 9/1/2026
2.1.2 8 8/26/2026
2.1.1 10 8/23/2026
2.1.0 10 8/21/2026
1.0.5 16 8/14/2026
1.0.3 10 8/11/2026
1.0.2 102 4/21/2026
1.0.1 16 4/20/2026
Show more