Forum Discussion
brogyi
Jul 25, 2024Brass Contributor
Exchange online and MGGraph are interfering
I am creating a new script. The script is running unattended. The script doing a couple things, the important part here is: setting a new user a license and setting the new user mailbox Address book ...
- 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
Prasanth666
Jul 30, 2024Copper Contributor
I have come across the same issue. It seems to be an issue with Exchange Online module 3.5.0 and later. Uninstalled Exchange Online module 3.5.0 and installed 3.4.0 to fix the issue.
- LainRobertsonJul 30, 2024Silver Contributor
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
- brogyiAug 14, 2024Brass ContributorThank you all for your help. I uninstalled the ExchangeOnlineManagement module 3.5.x version and replaced with 3.4.0. Now it is working.