Releases: microsoftgraph/msgraph-sdk-powershell
Releases · microsoftgraph/msgraph-sdk-powershell
2.1.0
What's Changed
- Refreshes the SDK with the latest APIs.
- Fixes assembly conflicts with Az module in PowerShell 5.1.
- Fixes aliasing of product names in command names.
Installation instructions
# For Microsoft Graph v1.0
Install-Module Microsoft.Graph -AllowClobber
# For Microsoft Graph beta
Install-Module Microsoft.Graph.Beta -AllowClobber2.0.0
What's Changed
- Adds Managed identity support.
- Adds client secret credentials support.
- Adds support for both current user and local machine certificate store lookup. Priority is given to certificates in CurrentUser store if two identical certificates are present in both stores.
- Adds environment variable based authentication support.
- Adds paging support to delta commands.
- Adds dedicated count commands for supported APIs.
- Adds logging of MSAL events to debug stream when using
Connect-MgGraph. - Adds parameter completer for
-Periodin Reports module and-ConsistencyLevelparameter. - Adds preview support for WAM.
- Fixes escaping of
-Filtervalues. - Fixes handling of claims challenge.
- Fixes wrongly pluralized command names.
- Fixes date assignment in Reports module.
- Makes enhancements to
-WhatIfon supported commands. - Makes improvements to how service errors surface to the error stream.
- Improves API coverage by adding support for previously unsupported APIs.
- Resolves assembly conflicts with common modules.
- Drops the use of profiles to switch between API versions. Service modules are now split by API version.
- Drops support for
-ForceRefreshonConnect-MgGraph. - Renames beta command names from
<Verb>-Mg<Noun>to<Verb>-MgBeta<Noun>. - Renames
DeviceManagement.Enrolmentmodule toDeviceManagement.Enrollment. - Moves directory role and entitlement management commands from
DeviceManagement.EnrollmenttoIdentity.Governancemodule. - Changes beta namespace from
Microsoft.Graph.PowerShell.Models.<Entity>toMicrosoft.Graph.Beta.PowerShell.Models.<Entity>. - Changes
-AccessTokentype onConnect-MgGraphfromStringtoSecureString.
See v1 to v2 upgrade guide for more details.
Full Changelog: 20230628.1...2.0.0
Installation instructions
# For Microsoft Graph v1.0
Install-Module Microsoft.Graph -AllowClobber
# For Microsoft Graph beta
Install-Module Microsoft.Graph.Beta -AllowClobber1.28.0 Release
2.0.0-rc3
What's Changed
- Adds logging of MSAL events to debug stream by @peombwa in #2036
- Updates examples by @timayabi2020 in #2029
- Fixes date assignment bug in Reports module by @peombwa in #2021
- Fixes request header logging when using WinHttpHandler in PS 5.1 by @peombwa in #2028
- Refreshes module with the latest API changes by @peombwa in #2053
Full Changelog: 2.0.0-rc1...2.0.0-rc3
Installation instructions
# For Microsoft Graph v1.0
Install-Module Microsoft.Graph -AllowPrerelease
# For Microsoft Graph beta
Install-Module Microsoft.Graph.Beta -AllowPrerelease2.0.0-rc1
What's Changed
- Fixes command names for commands that call OData count paths. This is a partial fix for microsoft/OpenAPI.NET.OData#382.
- Adds
servicePrincipal,administrativeUnit, anddevicederived types to*-MgDirectoryDeletedItem*commands in microsoftgraph/msgraph-metadata#340 - Adds custom cmdlets for RSC configuration in #2001 and #1968
- Updates default output for common types in #2002
- Refreshes module with the latest API changes in #2013
Full Changelog: 2.0.0-preview9...2.0.0-rc1
Installation instructions
# For Microsoft Graph v1.0
Install-Module Microsoft.Graph -AllowPrerelease
# For Microsoft Graph beta
Install-Module Microsoft.Graph.Beta -AllowPrerelease2.0.0-preview9
Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell
What's Changed
- Adds paging support for delta commands by @timayabi2020 in #1908
- Adds adminReportSettings API support by @timayabi2020 in #1936
- Adds OData count support by @peombwa in #1935
- Adds OData cast support by @irvinesunday @peombwa in microsoft/OpenAPI.NET.OData#324
- Adds parameter completer for
-Periodin Reports module by @peombwa in #1956 - Adds
@odata.idto required properties forReferenceCreateandReferenceUpdateschemas by @peombwa in #1967 - Adds windowsQualityUpdateProfile API support by @timayabi2020 in #1986
- Adds
$to OData query parameters for all API versions by @peombwa in #1993 - Removes
StartDatedefault when creating new assignment request by @peombwa in #1949 - Fixes wrongly pluralized command names by @peombwa in #1899
- Refreshes module with the latest API changes by @peombwa in #1997
Full Changelog: 2.0.0-preview8...2.0.0-preview9
Installation instructions
# For Microsoft Graph v1.0
Install-Module Microsoft.Graph -AllowPrerelease
# For Microsoft Graph beta
Install-Module Microsoft.Graph.Beta -AllowPrerelease1.27.0 Release
1.26.0 Release
Release Notes
- Refreshes module with the latest APIs #1951
- Fixes
StartDatedefault when creating new assignment request #1948. Thanks @markwahl-msft for the contribution!
1.25.0 Release
2.0.0-preview8
Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell
Release Notes
- Fixes missing
tenant idwhen using certificate for auth #1902 - Fixes missing properties on the response of
Get-MgContext#1902
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