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 Platform Community / Forums / Power Automate / How To operate the flo...
Power Automate
Unanswered

How To operate the flow in a virtual environment

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi.

 

I want to access a virtual PC with Remote Desktop and run a desktop flow there.

 

However, if I close the remote desktop window, I can't move the mouse there.

So I'll not be able to click "OK" in the alert dialog and an error will occur.

 

Have anyone experienced this before?

And does anyone know a solution?

 

Kind Regards

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi @Anonymous 

     

    You can choose your flows to be either attended or unattended.

    In unattended automation there is no human intervention and therefore not attended by anyone. These Desktop flows are triggered and run via the Cloud Flows.

     

    Then there is attended automation where a human in the loop is involved. In your case it looks like this is the one you are doing since you want to click the Ok button manually. So you cannot close the remote window and you or someone will have to attend to it. 

    •  As a side note in this case if you are sure that you want to always click the Ok button then you can use the 'close message box automatically after xx seconds'.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @VJR

     

    Thank you for answering.

    I want to do it in unattended automation and click the "OK" button in the alert dialog everytime.

     

    When I run the flow in unattended, I get an error "The link could not be clicked on the web page."

    I checked the flow wht the error occured, a dialog like the picture appeared and it seemed that could not select "OK".

     

    If you know the solution, please tell me how to do it.

    chrome_alertdialog.png

  • Unknown geen idee Profile Picture
    1,757 on at

    Dear @Anonymous ,

    Would it be an option that you run PAD on the virtual machine and trigger the flow via Power Automate towards this virtual machine? You would just have to identify the virtual machine in Power Automate as a different 'machine', next to your own PC.

    This would possibly remove the need to access the remote machine via PAD.

     

    If this is a solution to your issue, please state so in the thread.

    Kind regards,

    Koen

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard