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
onConnect-MgGraph
. - Renames
beta
command names from<Verb>-Mg<Noun>
to<Verb>-MgBeta<Noun>
. - Changes
beta
namespace fromMicrosoft.Graph.PowerShell.Models.<Entity>
toMicrosoft.Graph.Beta.PowerShell.Models.<Entity>
. - Changes
-AccessToken
type onConnect-MgGraph
fromString
toSecureString
.
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