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

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.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

Version History

Version Downloads Last updated
2.1.4 (current version) 8 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 15 8/14/2026
1.0.3 10 8/11/2026
1.0.2 102 4/21/2026
1.0.1 15 4/20/2026
Show more