EWS
EWS copied to clipboard
Importing Type Microsoft.Exchange.WebServices.Auth Fails
Importing Type Microsoft.Exchange.WebServices.Auth Fails. Catching the exception and getting the loader exception leads to the fact that the assemblies Microsoft.IdentityModel.dll and Microsoft.IdentityModel.Extensions.dll are required as well. I was able to acquire the dlls from Nuget packages and include them in the EWS.psd1 required assemblies, correcting the issue.
Could you please name the platform where you've tried it? It was working fine for me in the past w/o additional dlls.