github microsoftgraph/msgraph-sdk-powershell 2.0.0-preview1

latest releases: 2.24.0, 2.23.0, 2.22.0...
pre-release22 months ago

Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell

Release Notes

Breaking Changes

  • Drops profile support (Select-MgProfile) in favor of independent v1.0 and beta modules.
  • Drops support for -ForceRefresh on Connect-MgGraph.
  • Renames beta command names from <Verb>-Mg<Noun> to <Verb>-MgBeta<Noun>.
  • Changes beta namespace from Microsoft.Graph.PowerShell.Models.<Entity> to Microsoft.Graph.Beta.PowerShell.Models.<Entity>.
  • Changes -AccessToken type on Connect-MgGraph from String to SecureString.

New Features and Improvements

  • Adds managed identity support.
  • Adds client secret credentials support.
  • Adds current user and local machine certificate store lookup when using certificate credentials.
  • Adds environment variable based auth support.
  • Adds HTTP/2 support.
  • Adds success status code range support.

See Microsoft Graph PowerShell v2 Upgrade Guide for more details.

Installation instructions

# For Microsoft Graph v1.0
Install-Module Microsoft.Graph -AllowPrerelease -AllowClobber -Force
# For Microsoft Graph beta
Install-Module Microsoft.Graph.Beta -AllowPrerelease -AllowClobber -Force

Don't miss a new msgraph-sdk-powershell release

NewReleases is sending notifications on new releases.