Hello,
I developed an automation with Power Automate desktop that runs on Azure VM which I connect through RDP. I built the automation there and then I used a recurring cloud flow to call my desktop automation.
If I have the RDP session open, then the Desktop Flow runs perfectly fine in attended mode. However, if I close the RDP session (without signing out the user), then it throws me an error when executing it stating:
"No machine able to run the desktop flow has been found. Aborting execution. Error encountered when connecting to machines: No unlocked user sessions found on the target machine. Cannot execute attended desktop flow."
It seems that for whatever reason the RDP is forcing the VM to lock, although I can see from the VM it is not signed out.
Is this any limitation from PAD that requires always unattended in RDP connections, or is it some misconfiguration on the VM that is locking the user session when I close the RDP?
Thank you!