MSGraphPSEssentials

0.3.1

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 -RequiredVersion 0.3.1

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

Install-PSResource -Name MSGraphPSEssentials -Version 0.3.1

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) 2020 Jeremy Bradshaw. All rights reserved.

Package Details

Author(s)

  • Jeremy.Bradshaw@Outlook.com

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

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

v0.3.1 (2021-04-21):

- Fixed 3 instances of same typo ('throw = ' (dropped the '=').
- Fixed New-SelfSignedMSGraphApplicationCertificate function:
   Implemented crutch-fix for New-SelfSignedCertificate on PS Core to make private key available.
   (related to known issue: https://github.com/PowerShell/PowerShell/issues/12081)
- Updated New-SelfSignedMSGraphApplicationCertificate function:
   Re-introduced -Subject parameter in favor of DnsName because it just makes more sense.
       (**Not doing any validation of the supplied string**)
   The -FriendlyName parameter is now optional.

FileList

Version History

Version Downloads Last updated
0.6.0 157 1/12/2022
0.5.5 89 9/9/2021
0.5.0 26 8/24/2021
0.4.1 47 5/27/2021
0.4.0 22 5/13/2021
0.3.1 (current version) 23 4/21/2021
0.3.0 20 4/14/2021
0.2.0 39 1/3/2021
0.1.0 23 12/17/2020
Show less