How to switch Office365 account to modern authentication (OAUTH2)?

Modified on Thu, 13 Oct 2022 at 04:31 PM

This tutorial is no more valid with latest version and with new Microsoft recommandations. If you are using an old account using Exchange or Office365 with basic auth, you have to add a new account in Automatic Email Manager, it will detect it as O365 account, then you can use your previous group of actions/scenarios.


Note: If you are using a shared email box, it is exactly the same, add a new account, use your shared email box, when it asks you for Microsoft Authentification, uses the regular email to log to the account, that's all. 

 

Important: If you are using Windows server, make sure you installed Microsoft Edge or Chrome instead of default Internet Explorer (IE), because Microsoft doesn't support anymore IE for authentification.


If you use an Office365 account with modern authentification, i suggest you this information >




DISCONTINUED:

If you had already added an account in Automatic Email Manager using Office365, you have now to change from basic authentication (with your email login and password) to modern authentication (identification given by your O365 account).

It is easy, please read these steps:



1. Edit your account in Automatic Email Manager

Switch o365 to modern auth step 1



2. Move to the server settings

Switch o365 to modern auth step 2



3. Click on ‘We recommend you use Modern authentication’

Switch o365 to modern auth step 3



4. Click on ‘Test connection’, it will open the Microsoft Office365 modern login to ask you to enable Automatic Email Manager to check your emails, valid, it is finished.

IMPORTANT: To be able to send emails with Office365 and OAUTH you have to enable the option in your Microsoft admin panel like describe here :

https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission#:~:text=%20Use%20the%20Microsoft%20365%20admin%20center%20to,disabled%2C%20checked%20%3D%20enabled.%0AWhen%20you%27re%20finished%2C...%20More%20

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article