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 / Using Log off User wit...
Power Automate
Unanswered

Using Log off User with PAD flow

(0) ShareShare
ReportReport
Posted on by 2

I have a flow that runs best in unattended mode.  So to make sure the Desktop i have running this job is logged off i created a job to simply log off users.  However whenever I have this flow triggered via timer from a cloud flow it fails with an error.  I then tried to add the same task at the end of another flow but still seems to fail with errors.  

 

It seems that any time i introduce the Log Off User task in a PAW flow and trigger that flow from the cloud it errors out.  Even though the task actually completes successfully and the log off works.

 

SWsupport_1-1631045244247.png

 

I have the same question (0)
  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    I asked support about the same thing, here is the response

     

    ----------

     

    Based on the case description and the attachment I can see that you are seeking information about the "Log off user" Action of Power Automate Desktop.


    Kindly note that in this support request we will focus on this matter and consider the request resolved.
     
    Feel free to let me know if anything is inaccurate, missing or you disagree with the above scope statement.


    Regarding the case, please feel free to review the following points. Of course, if any further assistance or information is needed, please do not hesitate to reach out to me.

    I would be more than glad to help.

     

    "Log off user" Action: Successful
    Error messages: None
     

    • Cloud-based execution (via flow.microsoft.com and the "Machine" feature of Power Automate Desktop 2.10)
       

    "Log off user" Action: Successful
    Error Messages: "There's an issue starting your desktop flow. The session running desktop flows ended unexpectedly. Check for errors and try running it again."

     

    Regarding the error message of the Cloud-based execution, please note that it is a "false alarm" as long as the "Log off user" Action completed successfully.

     

    More specifically, it occurred because when the "Log off user" Actions gets executed via the Cloud, the communication channel between the Cloud and Power Automate Desktop ends before expected.

     

    Kindly note I am reporting the incident to our Development Teams as well, in case it can be addressed in a better way in the future.

     

    Moreover, if the "Log off user" Action did not complete successfully, then please let me know so that we investigate accordingly.

     

    Thank you very much for choosing our products, and I look forward to hearing from you.

     

    Do stay safe.

     

    Screenshots:

     

    Henrik_M_0-1631093908749.png

     

     

    Henrik_M_1-1631093908769.png

     

     

  • SWsupport Profile Picture
    2 on at

    Thanks for the response, I guess we have to sit and wait...  When did they give this response?  I hate seeing just a failure.

     

    Thanks

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Two months ago.

  • th18 Profile Picture
    16 on at

    Well its 2024 and still waiting.

    Did anyone find solution to this?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard