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
Markus Hanisch
Dec 02, 2024Brass Contributor
May also check if your Connect-ExchangeOnline cmdlet contains the parameter https://learn.microsoft.com/en-us/powershell/module/exchange/connect-exchangeonline?view=exchange-ps#-loglevel, allowing the values 'All' and 'Default'.
Switching from 'All' to 'Default' resolved the issue in my test environment.