MSGraphRequest

2.0.0

Simplifies making requests against Microsoft Graph API including authentication handling.

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name MSGraphRequest

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

Install-PSResource -Name MSGraphRequest

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 MSEndpointMgr.com. All rights reserved.

Package Details

Author(s)

  • Nickolaj Andersen & Jan Ketil Skanke

Tags

Microsoft Graph API Intune REST OAuth2 Authentication MSGraph EntraID AzureAD PKCE ManagedIdentity

Functions

Connect-MSGraphRequest Disconnect-MSGraphRequest Test-AccessToken Invoke-MSGraphOperation Add-AuthenticationHeaderItem Show-AuthenticationInfo Remove-AuthenticationHeaderItem

Dependencies

This module has no dependencies.

Release Notes

v2.0.0: 100% native REST auth (zero SDK dependencies). Added Connect-MSGraphRequest with 6 auth flows (Interactive PKCE, DeviceCode, ClientSecret, ClientCertificate, ManagedIdentity, BYOT). Automatic token refresh. See https://github.com/MSEndpointMgr/MSGraphRequest/blob/main/releasenotes.md

FileList

Version History

Version Downloads Last updated
2.0.0 (current version) 22 2/19/2026
1.1.4 131,370 12/20/2023
1.1.3 44,045 9/9/2021
1.1.2 53 8/20/2021
1.1.1 28 8/18/2021
1.0.1 109 5/5/2021
1.0.0 32 4/20/2021
Show more