How To use Modern Authentication To access a Microsoft365 mailbox programmatically in C#. Working with EWS, IMAP, SMTP, POP3 email clients.... In other words, when you connect to the service...permissions isn’t supported. In other words, delegated authentication only...