Hi All,
A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Modules.
Check the installed Version and what's on the PowerShell Gallery
Get-InstalledModule Microsoft.Graph
Find-Module Microsoft.Graph
But remember, it's not one Module, it is a collection of Modules
Get-InstalledModule Microsoft.Graph*
I've published a PowerShell Script on my GitHub Account that uninstalls the old Modules and installs the newest one
You can run that directly in PowerShell with the Code below
#Run Script directly from GitHub
$ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/ExchangeOnline/GraphAPI/CleanupGraphModules.ps1"
Invoke-Expression $($ScriptFromGitHub.Content)
Check if everything worked
Get-InstalledModule Microsoft.Graph*
Regards
Andres Bohren