I am implementing OAuth2 for EWS. After getting the token when I make a request for connection to mail box it is throwing the below error.
“ExchangeImpersonation SOAP header must be present for this type of OAuth token.”
For impersonating the user I need to instantiate IEWSClient before connecting.
Aspose version : 20.9.1
Language : C#