Handling Duo Security Authentication for Windows Logon with UiPath

Hello UiPath Community,

I am looking for guidance on how to handle Duo Authentication for Windows Logon with UiPath. We have a system that uses Duo MFA, and I need to automate the login process for a bot that runs on this system.

Here are the details:

  • The machine requires Duo MFA for login.
  • We have a static passcode that could be used to complete the MFA process.
  • The bot cannot start its tasks until the login is fully completed, which is currently blocked by the Duo MFA prompt.

Questions:

  1. Is there a way to automate the entry of the static passcode using UiPath to bypass the Duo MFA prompt so that the bot can start running?
  2. Are there any UiPath activities or methods that can interact with the MFA prompt or facilitate the completion of the Duo Authentication process automatically?
  3. I found that Duo provides APIs for authentication. Can these APIs be leveraged to handle the Duo MFA challenge during Windows logon? If so, how can they be integrated with UiPath to automate the login process?
  4. Can Windows Task Scheduler or any other tool be used in conjunction with UiPath to address this situation before the bot starts its process?

I appreciate any advice or solutions you can provide to help handle Duo Authentication effectively within UiPath. Thank you!

Store that passcode in an Asset or config file and use it for the MFA login.

The bot cannot start its tasks until the login is fully completed, which is currently blocked by the Duo MFA prompt.

Sorry, that doesn’t make any sense. Logging in is one of the tasks. You store the passcode in an Asset or config file and then code the login steps to click the passcode button, enter the passcode, etc.

HI @postwick,

Please see the video below. When the person enters the user credentials, the Duo Security authentication window appears. We need to complete the MFA to access the machine. I’m looking for a way to bypass this by entering the passcode.

Oh it’s login for the machine, not for an app or web page you’re opening? UiPath won’t be able to handle that. MFA needs to be turned off for robot accounts.

1 Like