MSGraphRequest
2.0.1
Simplifies making requests against Microsoft Graph API including authentication handling.
Minimum PowerShell version
5.1
Installation Options
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.1: Fixed em dash (U+2014) encoding issue causing script errors when installed from PSGallery on PS 5.1. Normalized all files to ASCII-only, LF line endings. Added .editorconfig. See https://github.com/MSEndpointMgr/MSGraphRequest/blob/main/releasenotes.md
FileList
- MSGraphRequest.nuspec
- LICENSE
- MSGraphRequest.psd1
- MSGraphRequest.psm1
- Private\ConvertFrom-JwtToken.ps1
- Private\Get-TokenContext.ps1
- Private\Invoke-DeviceCodeAuth.ps1
- Private\Invoke-InteractiveAuth.ps1
- Private\Invoke-ManagedIdentityAuth.ps1
- Private\Invoke-TokenRequest.ps1
- Private\New-AuthenticationHeader.ps1
- Private\New-ClientAssertion.ps1
- Public\Add-AuthenticationHeaderItem.ps1
- Public\Connect-MSGraphRequest.ps1
- Public\Disconnect-MSGraphRequest.ps1
- Public\Invoke-MSGraphOperation.ps1
- Public\Remove-AuthenticationHeaderItem.ps1
- Public\Show-AuthenticationInfo.ps1
- Public\Test-AccessToken.ps1
- README.md
- releasenotes.md