Microsoft.Graph PowerShell Module 2.0.0-rc1 released
Hi All,
Yesterday Microsoft has released a new Version of the Microsoft.Graph 2.x PowerShell Modules to the PowerShell Gallery. It’s the first Release Candidate - so i expect it to be GA in the next few Months.
- PowerShell Gallery Microsoft.Graph 2.0.0-rc1
- Microsoft.Graph Release Notes
If you have already installed Microsoft Graph Modules you need to use the -Force and -AllowClobber Parameter
Get-InstalledModule Microsoft.Graph -AllVersions
Find-Module Microsoft.Graph -AllowPrerelease
Install-Module Microsoft.Graph -AllowPrerelease -Force -AllowClobber
Get-InstalledModule Microsoft.Graph -AllVersions
I’ve ran a short test. As you can see it uses the 2.0.0 Version of the Module
Connect-MgGraph -Scopes User.read.all
Get-MgUser -UserId <UserPrincipalName>
Get-Module
As you might have noticed there will be two modules
- Microsoft.Graph
- Microsoft.Graph.Beta
PowerShell Gallery Microsoft.Graph.Beta 2.0.0-rc1
Regards
Andres Bohren