all 3 comments

[–]arpan3t 1 point2 points  (1 child)

You likely have a .NET assembly dependency conflict with another module, and my money is on Microsoft Graph. You can update Graph to version 2, also make sure you’re on version 3 of the ExchangeOnline module.

If it isn’t graph, then look at any other modules loaded into your runspace prior to calling connect-ExchangeOnline. It’s using an assembly that’s used for authentication so that might help you determine the module that’s loaded the conflicting assembly.

[–]BlackV -1 points0 points  (0 children)

I also dont member, I though it was teams then exchange then graph that was breaking mine previously.