Due to the recent Outlook Modern Authentication Feature by Microsoft, IMAP is going to be discontinued at the end of the year, I have done some research and realized that MAPI would be the optimal replacement (correct me if I’m wrong), however, there is no integrations from UiPath that support MAPI and so would like to know if UiPath is doing something about this new update or is there any workaround that can be sorted as a temporary solution.
Definitely this is a reason for concern. However, there are quite a few alternatives to work with around it no significant problems.
Concept:
First of all, let’s clarify the concept MAPI is just an interface to have applications receive and interact with email (Messaging Application Programming Interface or just Messaging API) that by itself is just a collection of libraries.
On the other hand, IMAP/POP/SMTP are messaging protocols for sending and receiving emails which in most scenarios will authenticate using simple authentication username/password which is not secure according to modern standards.
Solution #1:
Use Send Outlook Message, and Get Outlook Messages these activities are built with to interact with the Outlook profile on the executing machine, and therefore, will use the authentication method used by the mail client which if you’re using a O365 is by default authenticating with OAuth.
Solution #2:
Use O365 Scope, you will need to work with your system administrator to provide you with a set of Client/Secret as well to authorize the connection, this results very helpful if your organization enforces SSO/SAML
Solution #3 Integration Service, configure the connector and authenticate with OAuth. Your O365 admin may need to authorize UiPath as a trusted application.