Microsoft.Graph PowerShell Module 2.0.0-rc3 released
Hi All,
Just a few Days ago, Microsoft has released Microsoft.Graph 2.0.0-rce PowerShell Modules to the PowerShell Gallery.
PowerShell Gallery Microsoft.Graph 2.0.0-rc3
Let’s check what is installed and what is available from the PowerShell Gallery
Get-InstalledModule Microsoft.Graph -AllVersions
Find-Module Microsoft.Graph -AllowPrerelease
We need to list the Microsof.Graph Version 2.0.0 Modules
Get-Module Microsoft.Graph* -ListAvailable | where {$_.Version -eq "2.0.0"}
Uninstall the Microsoft.Graph Version 2.0.0 Modules - now only the 1.27.0 Version is installed
Get-Module Microsoft.Graph* -ListAvailable | where {$_.Version -eq "2.0.0"} | Uninstall-Module -Force
Get-Module Microsoft.Graph* -ListAvailable
Now we can install the RC3 PowerShell Modules
Install-Module Microsoft.Graph -AllowPrerelease -Force -AllowClobber
Get-Module Microsoft.Graph* -ListAvailable | where {$_.Version -eq "2.0.0"}
Test some Microsoft.Graph commandlets. As you can see the Version 2.0.0 Modules have been loaded
Connect-MgGraph -Scope User.Read.All
Get-MgUser -UserId a.bohren@icewolf.ch
Get-Module
Regards
Andres Bohren