OAuth2 support for O365 with Application permissions

Hi. Also interested in this topic but I can’t download the “full code examples”. It says:"Sorry, this file is private. Only visible to topic owner and staff members."

Where can I get these examples?

@emoreau

You can download full code example to use modern authentication with IMAP and SMTP clients from here:
EWSModernAuthenticationImapSmtp.zip (3.9 KB)

You can also download full code examples to use different permission types of modern authentication with EWS client from here:

With Application authentication - EWSModernAuthenticationApp.zip (3.4 KB)
With Delegated authentication - EWSModernAuthenticationDelegated.zip (3.6 KB)

A post was split to a new topic: OAuth2 support for O365 Code examples

Good evening,
i can’t download [EWSModernAuthenticationImapSmtp.zip|attachment].
Pleasecan you enable me to download?

Thanks in advance

Hello @repetti.giorgio,

Please try this file EWSModernAuthenticationImapSmtp.zip (3.9 KB)

If you still have difficulty downloading it, please inform us about it.

Hi Margarita,
unfortunately i retrieve this message:
image.png (7,9 KB)

“Sorry, this file is private. Only visible to topic owner and staff members.”

Thanks for your help

Hi @repetti.giorgio,

Can you create a new forum topic? So, I will add a comment with the attached file there.
Thanks.