r/PowerShell • MVP, Community Blogger • Sep 24 '26

News Solving the Microsoft.Graph.Authentication Issue

Looks like Microsoft has a fix for the clash between the Microsoft.Graph.Authentication module and other modules... The interesting thing is that Microsoft has had this problem on their docket for the last 18 months, and now they get a fix from an MVP... It should be in Microsoft Graph PowerShell SDK V2.41 in a few weeks' time.

https://github.com/microsoftgraph/msgraph-sdk-powershell/pull/3789

50 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/rswwalker Oct 24 '26

Is there a tool to see what version of a dependent module a module is built against?

1

u/Unlikely_Tie1172 MVP, Community Blogger Oct 24 '26

Well, in this case, the issue is due to a bad Microsoft.Graph.Authentication module that wasn't rebuilt for the Entra module after they updated the Authentication module for Graph SDK V2.41. I bet you could take the current SDK Authentication module and it would work with the latest version of the Entra module.

There's a bunch of very interesting discussions about the innards of the assembly clashes in the various issues reported by people in GitHub. I recommend that you have a browse.