Skip to content

Releases: microsoftgraph/msgraph-sdk-powershell

2.1.0

14 Jul 03:17
62dd1ab
Compare
Choose a tag to compare

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

05 Jul 18:00
db86725
Compare
Choose a tag to compare

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 on Connect-MgGraph.
  • Renames beta command names from <Verb>-Mg<Noun> to <Verb>-MgBeta<Noun>.
  • Renames DeviceManagement.Enrolment module to DeviceManagement.Enrollment.
  • Moves directory role and entitlement management commands from DeviceManagement.Enrollment to Identity.Governance module.
  • 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.

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

08 Jun 20:45
7abcd47
Compare
Choose a tag to compare

Release Notes

  • Refreshes module with the latest APIs #1994
  • Fixes tenant error when authenticating using a client certificate and Az.Accounts is loaded before this module #2073

2.0.0-rc3

02 Jun 15:20
26d47a6
Compare
Choose a tag to compare
2.0.0-rc3 Pre-release
Pre-release

What's Changed

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

18 May 18:12
8fdeceb
Compare
Choose a tag to compare
2.0.0-rc1 Pre-release
Pre-release

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, and device 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

04 May 23:08
616fa4d
Compare
Choose a tag to compare
2.0.0-preview9 Pre-release
Pre-release

Microsoft Graph PowerShell
Microsoft Graph Beta PowerShell

What's Changed

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

27 Apr 20:35
e38e7c5
Compare
Choose a tag to compare

Release Notes

  • Refreshes module with the latest APIs #1977
  • Increases API coverage by adding group settings API to v1 #1980

1.26.0 Release

20 Apr 15:41
f8b83a0
Compare
Choose a tag to compare

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

30 Mar 23:06
a9add54
Compare
Choose a tag to compare

Release Notes

  • Adds support for /security/alerts_v2 #1909
  • Fixes paging for delta functions #1891

2.0.0-preview8

24 Mar 22:25
83e234c
Compare
Choose a tag to compare
2.0.0-preview8 Pre-release
Pre-release

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