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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with Power Autom...
Power Automate
Unanswered

Issue with Power Automate Desktop Bot in Unattended Mode

(1) ShareShare
ReportReport
Posted on by 2

Hello Community,

 

I’m facing an issue with a Power Automate Desktop bot. The bot works perfectly in attended mode and runs successfully in unattended mode occasionally.

 

However, most of the time, the unattended run fails with the following error:

 
{
  "error": {
    "code": "SessionHasLoggedOff",
    "message": "The session logged off during run execution."
  }
}
 

We have the Power Automate Process license for running unattended flows, so licensing should not be the issue. The failed flow is very simple—just a single action to test if the bot works in unattended mode.

 

Has anyone experienced this intermittent error? Any suggestions on how to prevent session logoff during unattended runs?

I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    15,329 Super User 2025 Season 2 on at
    Issue with Power Automate Desktop Bot in Unattended Mode
    Hi there!
     
    The most likely root cause, since it does unattended sometimes, is someone is logging into to that machine as another user while it is running.  That will force your unattended run to abort.  One of many possible causes.
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and check the box below "Does this answer your question" to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard