Microsoft.Graph PowerShell Modules 2.7.0 released
Hi All,
Just a few Hours ago, Microsoft has released the Version 2.7.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules.
PowerShell Gallery Microsoft.Graph 2.7.0
PowerShell Gallery Microsoft.Graph.Beta 2.7.0
Read more in the Release Notes
- Refreshes SDK with the latest APIs
- Updates examples in
- Translates /me to /users/{user-id}
- Documentation enhancement for Authentication cmdlets
- Adds missing description, synopsis and examples for handwritten authentication cmdlets
Show installed Versions and what’s available in PowerShell Gallery
Get-InstalledModule Microsoft.Graph
Get-InstalledModule Microsoft.Graph.Beta
Find-Module Microsoft.Graph
Find-Module Microsoft.Graph.Beta
Uninstalling the old Modules and install the current Modules
Note that “Microsoft.Graph.*” will also include the Beta Modules
Get-InstalledModule Microsoft.Graph.* | Uninstall-Module -Force
Get-InstalledModule Microsoft.Graph | Uninstall-Module -Force
Install-Module Microsoft.Graph
Install-Module Microsoft.Graph.Beta
List all the Modules
Get-Module Microsoft.Graph.* -ListAvailable
Some basic testing
Connect-MgGraph -Scopes user.read.all
Get-MgContext
Get-MgUser -UserId a.bohren@icewolf.ch
Disconnect-MgGraph
Regards
Andres Bohren