
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?
------------------------------------------------
⭐ 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