Microsoft.Graph PowerShell Modules 2.38.0 released
Hi All,
A few hours ago, Microsoft has released the Version 2.38.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules.
- PowerShell Gallery Microsoft.Graph 2.38.0
- PowerShell Gallery Microsoft.Graph.Beta 2.38.0
No Release Notes have been published but you can review the Comparing Changes
I am using the new PSResourceGet here instead of the PowerShellGet commands.
Show installed Versions and what’s available in PowerShell Gallery
Get-InstalledPSResource -Name Microsoft.Graph -Scope CurrentUser
Find-PSResource -Name Microsoft.Graph
Uninstalling the old Microsoft.Graph Modules.
Uninstall-PSResource -Name Microsoft.Graph -Scope CurrentUser -SkipDependencyCheck
Uninstall-PSResource -Name Microsoft.Graph.* -Scope CurrentUser -SkipDependencyCheck
I have installed the Microsoft.PowerShell.PSResourceGet 1.3.0-preview1 and registered the MicrosoftArtifactRegistry. Now i need to add the Repository to use the PSGallery
Get-PSResourceRepository
Installing the New Microsoft.Graph Modules
Install-PSResource -Name Microsoft.Graph -Scope CurrentUser -Repository PSGallery
Install-PSResource -Name Microsoft.Graph.Beta -Scope CurrentUser -Repository PSGallery
List all the Modules
Get-PSResource Microsoft.Graph.* -Scope CurrentUser
Some basic testing
Connect-MgGraph -Scopes user.read.all -NoWelcome
Get-MgUser -UserId a.bohren@icewolf.ch
Disconnect-MgGraph
Or you can simply use my M365PSProfile Module - find the Documentation here: GitHub Documentation
# Install-PSResource -Name M365PSProfile -Scope CurrentUser
# Add-M365PSProfile
Install-M365Module
Azure Automation
Don’t forget to update the Microsoft.Graph Modules on Azure Automation
Regards
Andres Bohren














