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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,681)