MSGraphPSEssentials

0.5.5

A collection of functions enabling easier consumption of Microsoft Graph using just PowerShell (Desktop/Core).

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name MSGraphPSEssentials

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

Author(s)

Jeremy.Bradshaw@Outlook.com

Copyright

(c) 2020 Jeremy Bradshaw. All rights reserved.

Owners

Tags

MicrosoftGraph OAuth App-Only Delegated DeviceCode JWT AccessToken RefreshToken

Functions

New-MSGraphAccessToken New-MSGraphRequest New-SelfSignedMSGraphApplicationCertificate New-MSGraphPoPToken Add-MSGraphApplicationKeyCredential Remove-MSGraphApplicationKeyCredential ConvertFrom-JWTAccessToken New-RefreshTokenCredential Get-AccessTokenExpiration

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

v0.5.5 (2021-09-08):

- Added [-ExoEwsAppOnlyScope] switch parameter for New-MSGraphAccessToken's ClientCredentials parameter sets.
   --  This will change the scope to https://outlook.office365.com/.default instead of the typical
   https://graph.microsoft.com/.default, to enable OAuth app-only authentication with Exchange Online for EWS
   applications.
   -- Delegated permissions / user-present auth. flows for EWS are already covered in the DeviceCode and
   RefreshToken parameter sets (i.e., supply -Scopes Ews.AccessUser.All).

Version History

Version Downloads Last updated
0.5.5 (current version) 57 9/9/2021
0.5.0 16 8/24/2021
0.4.1 37 5/27/2021
0.4.0 12 5/13/2021
0.3.1 13 4/21/2021
0.3.0 9 4/14/2021
0.2.0 30 1/3/2021
0.1.0 14 12/17/2020