Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

It's possible run a attended ui flow on scheduled Azure VM?

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) -

I dont have permission to upload pitures, there is a ScreenShot: It's possible unlock user session with azure automation? - Microsoft Q&A



Frequent Visitor

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 ( 

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?

View solution in original post

Frequent Visitor

Because it's expensive for the problem i tried to solve
I didn't read the license terms, i will try find other solution

Helpful resources

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Users online (2,068)