Releases: microsoftgraph/msgraph-sdk-powershell
Releases · microsoftgraph/msgraph-sdk-powershell
1.23.0 Release
2.0.0-preview5
Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell
Release Notes
- Refreshes module with the latest APIs #1803
- Fixes download of extensionless files #1800
- Fixes missing
If-Match
header when updating Planner resources microsoftgraph/msgraph-metadata#260 - Fixes
Invoke-MgGraphRequest
serialization of non-ASCII character #1764 - Fixes
Find-MgGraphPermission
resolution when no connection to Microsoft Graph exists #1786 - Adds Teams custom commands for pre-approval #1745
- Ports v1.x examples to v2.x #1760
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
1.22.0 Release
Microsoft Graph PowerShell Module
Release Notes
- Refreshes module with the latest APIs #1810
- Updates offline help with latest API descriptions and examples #1811
- Fixes download of extensionless files #1789.
- Fixes missing
If-Match
header when updating Planner resources microsoftgraph/msgraph-metadata#260.
Update instructions
Update-Module Microsoft.Graph
1.21.0 Release
Microsoft Graph PowerShell Module
Release Notes
- Refreshes module with the latest APIs #1766
- Updates offline help with latest API descriptions and examples #1767
- Fixes
Invoke-MgGraphRequest
serialization of non-ASCII character #1768
Update instructions
Update-Module Microsoft.Graph
2.0.0-preview4
Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell
Release Notes
- Refreshes modules with the latest APIs #1762.
- Adds offline examples for
Teams
module #1753. - Adds
CertificateName
alias toCertificateSubjectName
onConnect-MgGraph
for backward compatibility #1748.
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
2.0.0-preview3
Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell
Release Notes
- Refreshes modules with the latest APIs #1697.
- Adds offline examples for
Users
,Users.Functions
, andUsers.Actions
modules #1728. - Adds useful error message when an auth session hasn't been initialized.
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
1.20.0 Release
Microsoft Graph PowerShell Module
Release Notes
- Refreshes the module with the latest APIs #1730
- Updates offline help with latest API descriptions ##1731
Update instructions
Update-Module Microsoft.Graph
2.0.0-preview2
Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell
Release Notes
- Refreshes modules with the latest APIs.
- Adds
SecretCredential
,Credential
alias toClientSecretCredential
parameter for parity with Az module.
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
1.19.0 Release
Microsoft Graph PowerShell Module
Release Notes
- Refreshes the module with the latest APIs #1684
- Updates offline help with latest API descriptions #1685
Update instructions
Update-Module Microsoft.Graph
2.0.0-preview1
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.
- Removes invalid navigation property parameters on commands.
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