web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

DUO MFA

(1) ShareShare
ReportReport
Posted on by 4
Hi Team,
 
Our use case is to run the bot in an unattended mode however, we have a challenge to pass the DUO. 
 
When we are logging into VDI/VM we are getting DUO sign in pop up which is affecting our unattended bot run.
 
Any suggestions or solutions would be a great help.
 
 
image.png
I have the same question (0)
  • Suggested answer
    CU16071609-1 Profile Picture
    6,255 Moderator on at
    Hi DK-23121002-0,
     
    Before you run flow, first ensure that the app is running. If the app is running, terminate the process using a PowerShell script or any other scripts, then allow the bot to continue your tasks.
     
    Thanks,
    Deenuji Loganathan 👩‍💻
    Power Automate Desktop Community Champion 🤖
    ------------------------------------------------------------------------------------------------------------
     
  • DK-23121002-0 Profile Picture
    4 on at

    Hi Deenuji,

     

    Thanks for your response.

     

    We can't terminate the script as the bot will be in Unattended. Also the pop up(MFA) we are getting post Signin. You can the screenshot attached above in which when we manually login to VM, after we enter username and password we are getting the pop up(MFA).

     

    Error in Cloud flow:

     

    StatusCode : 400

    body:

    {   "error": {     "code": "RdpPermissionNotGranted",     "message": "Cannot create session to execute desktop flow run. User needs to have Remote Desktop permissions."   } }

     

    Thanks,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 272 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard