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 -AllowClobber
2.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
-Period
in Reports module and-ConsistencyLevel
parameter. - Adds preview support for WAM.
- Fixes escaping of
-Filter
values. - Fixes handling of claims challenge.
- Fixes wrongly pluralized command names.
- Fixes date assignment in Reports module.
- Makes enhancements to
-WhatIf
on 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
-ForceRefresh
onConnect-MgGraph
. - Renames beta command names from
<Verb>-Mg<Noun>
to<Verb>-MgBeta<Noun>
. - Renames
DeviceManagement.Enrolment
module toDeviceManagement.Enrollment
. - Moves directory role and entitlement management commands from
DeviceManagement.Enrollment
toIdentity.Governance
module. - Changes beta namespace from
Microsoft.Graph.PowerShell.Models.<Entity>
toMicrosoft.Graph.Beta.PowerShell.Models.<Entity>
. - Changes
-AccessToken
type onConnect-MgGraph
fromString
toSecureString
.
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 -AllowClobber
1.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 -AllowPrerelease
2.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
, anddevice
derived 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 -AllowPrerelease
2.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
-Period
in Reports module by @peombwa in #1956 - Adds
@odata.id
to required properties forReferenceCreate
andReferenceUpdate
schemas 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
StartDate
default 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 -AllowPrerelease
1.27.0 Release
1.26.0 Release
Release Notes
- Refreshes module with the latest APIs #1951
- Fixes
StartDate
default 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 id
when 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