I tried to run a attended ui flow on scheduled Azure VM but i get this error: "No unlocked user sessions found on the target machine. Cannot execute attended desktop flow"
This post say its posible but im not sure: Using Azure VM's to run UI Flows (RPA) - FlowJoe.io
I dont have permission to upload pitures, there is a ScreenShot: It's possible unlock user session with azure automation? - Microsoft Q&A
Solved! Go to Solution.
Finally i got the solution to use an Attended Desktop Flow with a scheduled VM
I used this program on the VM (In my case a Win10 VM): Autologon - Windows Sysinternals | Microsoft Docs
I recomend use the Azure VM Power Automate connector to sheduled (Its more simple than Azure Automation) Azure VM - Connectors | Microsoft Docs
Other alternatives for AutoLogon: How To Automatically Login In Windows 10 (intowindows.com)
If you are not operating the VM as a user, then you're basically violating Microsoft's attended RPA license terms.
Page 14 "The bot must operate concurrently with the user on the same workstation"
Why don't you just get an unattended RPA license?
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.