Does anyone know a way to connect to a sharepoint/exchange mail that has MFA activated with an unattended bot?
I need to send emails using the unattended bot, but I can’t connect to exchange mail. I tried using the Office365 and Two-Factor authentication libraries from Go! and the problem is that when the MFA challenge is generated (when the window opens to enter the credentials and token) the robot locks and I can’t use the two-factor library to retrieve the token and type it into the field.
Deactivating the MFA is not an option as well because we are a Microsoft Partner and the Secure Application Model requires us to keep that activated.
I even tried researching if it was possible to create a multithread activity so one thread would lock and the other would be able to type into the window, but it doesn’t seem to be possible.
Can anybody help?
The only option would be to create a console application that can accept azure application details as parameters and display you the login challenge. UiPath should just trigger this console application and wait for it to launch the authentication window.
1 Like