I have set up an application that can create an EWS client and send out e-mails, it works just great.
I have problems connecting with users that have enabled MFA or modern authentication. It onlyh works when logging in as users using simple authentication.
I get a 401: Unauthorized exception.
I cannot find any examples on how to accomplish this.
Can you guide me in the right direction please ?
Thanks in advance