Power Automate Desktop Flow Failing in Unattended Mode
Quick answer
Unattended desktop flows fail when screen resolution, window mode or user sessions differ from attended runs. Match display settings, sign out of the machine, recapture selectors and check the UI flow service.
Most likely fix: Fix the session
How to fix it
Try these in order — the most common fix is first.
1. Fix the session
- Sign out of all user accounts on the target machine for unattended runs
- In the portal check the machine setting to reuse sessions for unattended runs
- For attended runs keep an unlocked session
Did this fix it?2. Match the environment
- Use the same screen resolution and scaling as the attended machine
- Start the app in the same window mode
- Recapture selectors on the unattended machine with the UI element picker
Did this fix it?3. Check services and logs
- Confirm Power Automate services are running
- Run the Power Automate troubleshooter on the machine
- Add screenshot on error and check Event Viewer
Did this fix it?
Symptoms
A desktop flow works when you run it yourself but fails from the cloud with UI element not found, a user session error, or the machine not reachable.
Why it happens
- Different screen resolution or scaling
- Active or locked user session
- UI flow service stopped
- Selectors that no longer match
- Remote desktop disconnected
This guide also covers
- power automate desktop unattended not working
- power automate desktop flow failed
- power automate machine not reachable
Still not working?
If Microsoft Power Automate keeps failing, you're not alone. See every Microsoft Power Automate problem users report or the alternatives people switch to.
Done fighting Microsoft Power Automate? Our small team builds your own Microsoft Power Automate alternative, or any software you need: web, mobile, games, desktop. Price agreed together.
Talk to usOther Microsoft Power Automate errors
- Power Automate Flow Not Triggering
- Power Automate Flow Failed
- Power Automate Connection Error (401 Unauthorized)
- Power Automate Flow Turned Off Automatically
- Power Automate 429 Too Many Requests Error
- Why Is My Power Automate Flow So Slow
- Power Automate Premium License Required Error
- Power Automate Excel Table Not Found Error