Microsoft.Graph PowerShell Modules 2.6.1 released

Microsoft.Graph PowerShell Modules 2.6.1 released

Hi All,

Yesterday Microsoft has released Microsoft.Graph 2.6.0. Soon after the release i installed and tested the new Module. I found out that it had issues and was broken. Reported it via GitHub Issue. Two hours later the Issue was closed with the notice that a new release 2.6.1 is under way.

This Morning i saw that the new Version was available in the PowerShell Gallery and the broken Version 2.6.0 has been revoked.

PowerShell Gallery Microsoft.Graph 2.6.1

PowerShell Gallery Microsoft.Graph.Beta 2.6.1

Read more in the Release Notes

  • Refreshes SDK with the latest APIs
  • Update examples
  • Fixes Get-MgUser error by reverting AutoREST.PowerShell to v3.0.509

Check what’s available in the PowerShell Gallery

Find-Module Microsoft.Graph
Find-Module Microsoft.Graph.Beta

Uninstall the old Modules and install the new Modules from PowerShell Gallery

Get-Module Microsoft.Graph.* -ListAvailable | Uninstall-Module -Force
Get-Module Microsoft.Graph -ListAvailable | Uninstall-Module -Force
Install-Module Microsoft.Graph
Install-Module Microsoft.Graph.Beta

List all the Modules

Get-Module Microsoft.Graph.* -ListAvailable

Connect-MgGraph -Scopes
Get-MgUser -UserId

Andres Bohren

PowerShell Logo