Closed as not planned
Description
Reporting an Issue or Missing Feature
I am reporting a bug.
Expected behavior
This is a follow up on #3395
When PnP.PowerShell and Microsoft.Graph modules are used ion the same script, it causes Get-PnPGroup -All
to fail with the following error:
Get-MgGroup_List: Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
According to the blog post https://mortenknudsen.net/?p=2631, the old Microsoft.Graph.Core version 1.25.1.0 from 2021 seems to originate from the module dependencies of PnP.PowerShell.
In 2024 Microsoft.Graph.Core.dll has version 3.0.9.0
Any chance you can equip PnP.PowerShell with the newer version of Microsoft.Graph.Core.dll?