Microsoft.Graph PowerShell Modules 2.6.0 released
Hi All,
Just a few Hours ago, Microsoft has released the Version 2.6.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules.
Note: Don’t install the Microsoft.Graph Powershell Modules 2.6.0. They are broken. See the Screenshots at the End of the Article.
PowerShell Gallery Microsoft.Graph 2.6.0
PowerShell Gallery Microsoft.Graph.Beta 2.6.0
Read more in the Release Notes
- Refreshes the SDK with the latest APIs
- Adds support for windowsQualityUpdateProfile API
- Adds support for partner information API
- Updates examples
Show installed Versions and what’s available in PowerShell Gallery
Get-Module Microsoft.Graph -ListAvailable
Get-Module Microsoft.Graph.Beta -ListAvailable
Find-Module Microsoft.Graph
Find-Module Microsoft.Graph.Beta
Uninstalling the old Modules
Note that “Microsoft.Graph.*” will also include the Beta Modules
Get-Module Microsoft.Graph.* -ListAvailable | Uninstall-Module -Force
Get-Module Microsoft.Graph -ListAvailable | Uninstall-Module -Force
Install the new Modules from PowerShell Gallery
Install-Module Microsoft.Graph
Install-Module Microsoft.Graph.Beta -AllowClobber
List all the Modules
Get-Module Microsoft.Graph.* -ListAvailable
Some basic testing with PowerShell 5.1
Connect-MgGraph -Scopes user.read.all
Get-MgUser -UserId a.bohren@icewolf.ch
Disconnect-MgGraph
Same happens with PowerShell 7.x
Connect-MgGraph -Scopes user.read.all
Get-MgUser -UserId a.bohren@icewolf.ch
Disconnect-MgGraph
Regards
Andres Bohren