365Fanatic / PowerShell / Microsoft.Graph
Microsoft 365 · M365 · Microsoft365

Microsoft Graph PowerShell releases

Microsoft.Graph replaces AzureAD and MSOnline. Cadence: around the fourth week of each month.

Last updated: 15 okt 2026, 14:05 CEST · latest v2.41.2

Need help? Guides for Microsoft Graph — install, connect, frequent errors. →
Microsoft 365 (M365 / Microsoft365). Microsoft Graph PowerShell (Microsoft.Graph) releases for Microsoft 365 (M365). Connect-MgGraph, Purview, audit and Entra. Official docs → GitHub →

Install or update

PowerShell
Install-Module Microsoft.Graph -Scope CurrentUser

PowerShell Gallery →

Frequent errors and how to fix them

The term 'Connect-MgGraph' is not recognized
Import-Module Microsoft.Graph.Authentication in a new PowerShell 7 window.
AADSTS700016 / insufficient privileges
The Entra app is missing Graph scopes or admin consent. Least privilege per cmdlet set.
Assembly conflict / Microsoft.Graph.* mixed versions
Update-Module Microsoft.Graph -Force, or remove old Microsoft.Graph.* versions.
RSS Click to subscribe

Set filters first, then copy the link. Do not open it in Chrome.

Or open directly: Feedly Inoreader

Releases

v2.41.2

v2.41.2 Latest

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.41.2 -Scope CurrentUser

2.41.1

v2.41.1

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.41.1 -Scope CurrentUser

What's changed

  • Remove and re-import broke the ALC, reimporting after restore by Stephan van Rooij (@svrooij) in #3804
  • Full Changelog: v2.41.0...v2.41.1

2.41.0

v2.41.0

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.41.0 -Scope CurrentUser

What's changed

  • Completely isolating Microsoft.Graph.Authentication solving dependency issues by Stephan van Rooij (@svrooij) in #3789
  • [v2] Module Command Metadata Refresh[bot] in #3801
  • New Contributors
  • Stephan van Rooij (@svrooij) made their first contribution in #3789
  • Full Changelog: v2.40.0...v2.41.0

2.40.0

v2.40.0

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.40.0 -Scope CurrentUser

What's changed

  • fix: unwrap PSObject-wrapped values when serializing Invoke-MgGraphRe… by Ramses Sanchez-Hernandez (@ramsessanchez) in #3717
  • update all open api docs by Ramses Sanchez-Hernandez (@ramsessanchez) in #3719
  • Bump System.Security.Cryptography.Xml from 8.0.3 to 8.0.4 by Dependabot (@dependabot)[bot] in #3723
  • updated openApi-docs by Ramses Sanchez-Hernandez (@ramsessanchez) in #3754
  • [v2] Module Command Metadata Refresh[bot] in #3766
  • [v2] Examples Update[bot] in #3767
  • docs: list scenario-specific modules by Gavin Barron (@gavinbarron) in #3773
  • Bumps Micreosoft.Identity.Client and Microsoft.Identity.Client.Broker to v4.83.1
  • Full Changelog: v2.39.0...v2.40.0

2.39.0

v2.39.0

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.39.0 -Scope CurrentUser

What's changed

  • Fix S360 open-source vulnerabilities (SFI-ES5.2) by Gavin Barron (@gavinbarron) in #3667
  • Add -LoginHint parameter to Connect-MgGraph (closes #3605) by Gavin Barron (@gavinbarron) in #3662
  • Full Changelog: v2.38.1...v2.39.0

2.38.1

v2.38.1

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.38.1 -Scope CurrentUser

What's changed

  • fix: Clear persisted MSAL token cache on Disconnect-MgGraph by Gavin Barron (@gavinbarron) in #3649
  • Full Changelog: v2.38.0...v2.38.1

2.38.0

v2.38.0

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.38.0 -Scope CurrentUser

What's changed

  • chore: bump Microsoft.Graph.Core to 4.0.1 by Gavin Barron (@gavinbarron) with @Copilot in #3609
  • [v2] Module Command Metadata Refresh by Michael Mainer (@MIchaelMainer) in #3643
  • [v2] Examples Update by Michael Mainer (@MIchaelMainer) in #3642
  • Full Changelog: v2.37.0...v2.38.0

2.37.0

v2.37.0

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.37.0 -Scope CurrentUser

What's changed

  • fix: resolve CS0281 InternalsVisibleTo signing mismatch in Authentication tests by Gavin Barron (@gavinbarron) in #3562
  • include caeEnabled: true so token is correctly cached by Ramses Sanchez-Hernandez (@ramsessanchez) in #3573
  • Clarify WAM settings and custom app registration steps by Clément Notin (@cnotin) in #3588
  • ensure DisableLoginByWam is documented correctly by Ramses Sanchez-Hernandez (@ramsessanchez) in #3589
  • Adding sovereign cloud examples and update environment tables by Luis Ramos (@lramosvea) in #3595
  • Full Changelog: v2.36.1...v2.37.0

2.36.1

v2.36.1

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.36.1 -Scope CurrentUser

What's changed

  • [v2] Examples Update by Michael Mainer (@MIchaelMainer) in #3554
  • Fix and Validate ConfigurationManagement Download by Ramses Sanchez-Hernandez (@ramsessanchez) in #3555
  • point to latest autorest.powershell commit in target branch by Ramses Sanchez-Hernandez (@ramsessanchez) in #3557
  • [v2] Module Command Metadata Refresh by Michael Mainer (@MIchaelMainer) in #3556
  • Full Changelog: v2.36.0...v2.36.1

2.36.0

v2.36.0

Install this version

PowerShell
Install-Module Microsoft.Graph -RequiredVersion 2.36.0 -Scope CurrentUser

What's changed

  • [v2] Examples Update by Michael Mainer (@MIchaelMainer) in #3525
  • Clean up remaining refs to dev in our pipelines by Ramses Sanchez-Hernandez (@ramsessanchez) in #3526
  • Separate weekly openApi-doc refresh and command-metadata refresh by Ramses Sanchez-Hernandez (@ramsessanchez) in #3467
  • fix: Update URL for OpenApiInfo tool by Ramses Sanchez-Hernandez (@ramsessanchez) in #3541
  • Escape Single Quotes in File Paths by Ramses Sanchez-Hernandez (@ramsessanchez) in #3543
  • Re-establish Separate Auth Paths for WAM Enabled/Disabled by Ramses Sanchez-Hernandez (@ramsessanchez) in #3542
  • Update Validated Open Api Docs by Ramses Sanchez-Hernandez (@ramsessanchez) in #3544
  • Fix and Condense Metadata-Refresh Pipeline by Ramses Sanchez-Hernandez (@ramsessanchez) in #3545
  • Add BleuCloud, DelosCloud, and GovSGCloud sovereign cloud environments, remove deprecated Germany cloud in #3523
  • Pin Autorest Version to 3.7.2 by Ramses Sanchez-Hernandez (@ramsessanchez) in #3547
  • fix: update msal dependencies by Gavin Barron (@gavinbarron) in #3548
  • [v2] Examples Update by Michael Mainer (@MIchaelMainer) in #3550
  • [v2] Module Command Metadata Refresh by Michael Mainer (@MIchaelMainer) in #3553
  • Full Changelog: v2.35.1...v2.36.0