Feb 19 2023 09:46 AM
Anyone having success with the 4.1 Exchange Connector on SCSM2022. Built 2 test servers and tried the Microsoft Hyper-V eval server and keep running into the same error.
Exchange Connector: Unable to process email for message=Could not load file or assembly 'Microsoft.Identity.Client, Version=4.38.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Lot of folks are recommending using SMLetsExchange connector as an alternative but, it would be nice to see if anyone has had success with the 4.1 connector. Thanks!
Feb 20 2023 12:38 PM
Used gacutil.exe to import the assembly from the Microsoft Identity Client 4.38.0.* dll into the Global Assembly cache and emails started to flow. EHope Microsoft can incorporate this fix in a later update.
Rundown:
1) Install VS Community Edition on server
2) Unzip the Microsoft Identity Client 4.38.0.0_ nuget package.
3) Open Developer Powershell for VS2022.
Run gacutil.exe /i Microsoft.Identity.Client.dll
4) Verify email flow in SM event logs and O365.
Mar 28 2023 11:50 AM