Kindly be advised that this tutorial may no longer align with the most recent updates and Microsoft's latest recommendations. If your current setup involves an older account operating with Exchange or Office365 with basic authentication, a fresh account addition is required in the Automatic Email Manager. Upon doing so, the system will identify it as an O365 account, enabling you to proceed with your previous action group or scenarios.
Please note, if your use-case involves a shared email box, the process remains identical. You will need to add a new account using your shared email box. When prompted for Microsoft Authentication, please utilize your regular email to access the account. This completes the necessary steps.
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
2. Move to the server settings
3. Click on ‘We recommend you use Modern authentication’
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 :