web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error with my cloud fl...
Power Automate
Suggested Answer

Error with my cloud flow and desktop flow

(0) ShareShare
ReportReport
Posted on by 2
This is the error message I am getting ... Action 'Run_a_flow_built_with_Power_Automate_for_desktop:_Quote_Fufillment' failed: No machine able to run the automation has been found. Aborting execution. Error encountered when connecting to machines: There is a user session on the target machine. Cannot execute unattended desktop flow.
 
My cloud flow is triggered by outlook which ultimately launches PAD. The machine that is running my PAD is connected to our server and only dedicated for this workflow. There is no other session on it currently, so I am unsure why I keep getting this message.
Categories:
I have the same question (0)
  • Suggested answer
    Gopala_Krishna Profile Picture
    1,495 on at
    This specific error usually means your desktop flow is set to run Unattended, but Windows still recognizes an active user session on the target machine. A disconnected RDP session also counts as “active.” Power Automate won’t start an unattended run if anyone is signed in, even if the screen is locked.
     
    Here’s a simple checklist to fix it and prevent it from happening again:
     
    1) Check for User Sessions on the Windows Machine where PAD is supposed to run.
    On the target machine (or via RDP once), check for lingering sessions:
    Open Task Manager, then Users, and verify that no users are signed in. If you see any, right-click and select Sign off.
    Or use an elevated CMD:
           query session lists sessions
           logoff <ID> signs out a lingering session.  
           (Do not just close your RDP window; that “disconnects” and keeps the session active. Always sign out.)
     
    2) Confirm machine status in Power Automate.
    In the Power Automate portal:
    Monitor or Data, then Machines/Machine groups.
    The machine or group used by your connection should show Online and Unattended - Ready.
    If it shows In use or Attended, there’s still a session.
     
    3) Check your Desktop flows connection (the credentials Power Automate uses).
    Open the Desktop flows connection used by the action Run a flow built with Power Automate for desktop.
    Ensure it’s set up for Unattended and has valid credentials (DOMAIN\user + current password) of a service account that:
    Is a Local Administrator (recommended for RPA).
    Has “Allow log on locally” rights.
    Is not currently signed in anywhere.
    If you recently changed that account’s password, update the connection secret.
     
    4) Make sure the flow targets the right machine or group.
    In your cloud flow action, confirm the machine group or machine is the dedicated one.
    If you use tags in a machine group, ensure the tag in the action matches a machine that’s online.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard