Would you be able please to direct me to a C# code sample to demonstrate connecting to an exchange online (365) mailbox via EWS and using OAuth2?
The documented examples appear to use basic authentication where the username and password is sent to exchange directly.
I understand setup is required in the Azure Active Directory, but it is the client-side Aspose code sample I am interested in.
It would be for OAuth permissions of type ‘Application permissions’ and not ‘Delegated permissions’.
Thanks in advance,