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 / Help connecting for de...
Power Automate
Unanswered

Help connecting for desktop flow on attended mode.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have created a desktop flow and created Hosted machine as per the screenshot. When I try flow, we get the error

 

"Cannot create a session to run an unattended desktop flow. Your machine needs to have Remote Desktop enabled to run unattended desktop flows."

 

If I attempt to open this machine by clicking Open in Browser, it never connects. saying retry again.

 

Apps645_0-1692354848023.png

How to enable RDP for this hosted machine? Also I could not search this machine in azure but displays on power automate page

 Please help!

Thanks,

Apps645

I have the same question (0)
  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    Hi,

     

    Try enabling Remote Desktop  on your hosted machine?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @OkanAT 

    Thanks for the response!

    but it created from power automate by clicking new hosted machine. Its not opening at all from the option "Open in browser" and this machine is not visible at all in azure. But it is available on power automate.

     

    Please help me.

     

    Thanks

  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    Ah I see,

     

    You still need to set up a Virtual Desktop Machine hosted by Azure. The documentation explains what you need to set up. See the below screenshot for example, have you done these steps?

    OkanAT_0-1692359107563.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have created hosted machine only on Power automate. I have the checked the service principle ID as displayed in screenshot the same id, its not available.

    But I was able to create hosted machine, is it a problem?

    If you still need need to set up a Virtual Desktop Machine hosted by Azure means, two different virtual machines? from Power automate and from azure?

    If still we need to create can we give the same machine name?

    Thanks!

     

  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    So No, 

     

    You don't need to create one in Azure if you indeed Host them. My bad, I understood the question wrong. 

    If I recall correct, you must create the Tenants in Azure as the screenshot Above, after this you can use Hosted Machines while not setting up a VDM within Azure. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks! With the same ID as mentioned right?

    The three service principles?

    After that will the hosted  meachine  created in power automate will show up automatically in Azure?

    Thanks in advance!

  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    Check PM 🙂

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, I wil check in my personal laptop too. Maybe the IT restrictions at corporate network

  • kenseongtan Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    I see that you're facing two issues:

     

    1. You're not able to access to the hosted machines from the "Open in browser" button. When you select "Open in browser", do take note that there is a pop-up that asks for your permission to allow remote desktop to the machine. If you have pop-ups blocked, you will need to enable this.

     

    2. For unattended desktop flow-run, do take note to disable NLA which is described here: https://learn.microsoft.com/en-us/troubleshoot/power-platform/power-automate/ui-flows-run-failed-with-aadlogonfailure-error

     

     

    Keep me updated on your progress, happy to help!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard