Forum Discussion
Exchange online and MGGraph are interfering
- Jul 30, 2024
The issue is that ExchangeOnlineManagement 3.5.1 uses version 8.0.23.53103 of System.Text.Json.dll where 3.4.x doesn't use System.Text.Json.dll at all, hence there's no conflict with version 6.0.21.52210 used by the Microsoft.Graph.Authentication module.
Cheers,
Lain
Is there any fix coming? Or do we just have to hope it works in future versions with the other modules?
The risk of underlying libraries from one module being incompatible with another will always be there.
All you can do is what you have done, which is test interoperability and use the versions that happily coexist.
You will find that there will be periods where the latest versions of the modules will work together, but unless the teams writing the Exchange and Graph modules actively collaborate and coordinate working releases, it's inevitable that this scenario where the latest version of each do not work together will continue to crop up.
Cheers,
Lain