We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Accessing an Exchange Online (365) mailbox through EWS using OAuth2

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,

@JamesMurdoch

I suggest you to please visit the following thread link for your kind reference.