Error ''There is a user session on the target machine. Cannot execute unattended desktop flow.'' Please someone answer this question nicely. Add a screenshot of what we need to do. why this error. The support team is not very interested.
You can't run an unattended flow on a machine where someone is logged in. Make sure everyone is logged out of the target machine, but don't shut it down. Then run the unattended flow again.
Take a look at this article on how to create a VM to use for running UI flows. The point is that you have to start the flow without having anyone logged in to it. Using Azure VM's to run UI Flows (RPA) - FlowJoe.io
For Remote Desktop try this article.
But this is about running the PAD from inside an RDP session, not unattended. You can only run unattended when the flow itself logs in to the remote machine. You can't do that if someone is already logged in.
I just resolved a similar issue on my machine.
On your Virtual Machine, try to "Sign Out" as your user instead of disconnecting the session. Once signed out, give it a minute or so and try to run the flow again.
To Sign Out, instead of clicking 'Power', click your profile in the Start Menu then 'Sign Out'
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!