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