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

Free Support Forum - aspose.com

Get EWS Client for user with MFA/Modern Authentication


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
Allan Bredahl

Forgot to say that it is Aspose Email for .Net

Thank you for posting the query. MFA support was already planned for Aspose.Email earlier. I linked this forum thread to the corresponding issue with ID EMAILNET-40179 in our tracking system. You will be notified when this functionality is implemented.

Hi Andrey

Thanks for the feedback. :slightly_smiling_face:

Just to understand it completely, this is yet not possible but will be in an upcoming release ?

And just another thing: Are you planning to make components for MS Graph?

Thanks in advance.

Unfortunately, we no longer plan to support MFA in Aspose.Email. Our explanations are here.