Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Flow to check if desktop is attended vs unattended

Hi There, 


I am relatively new to Power Automate.  What I am trying accomplish is the following: 
Run a desktop flow from the cloud whether or not I am signed in on my desktop (I have the correct licensing so I can get it to work in un attended or attended mode).

But:  What I would like to do is have a check to see whether my desktop is in unattended mode or attended mode. 
I would then like to run the flow whether or not I am logged in.   

Is there is a variable or method to check so i can set the error handling to run in attended mode if I happen to be logged in?

Your advice is appreciated.

- I figured another potential solution is to create a userid on my desktop

Regular Visitor

To clarify above: 

"Is there is a variable or method to check so i can set the error handling to run in unattended mode if I happen to be logged in?

Super User
Super User

Not as far as I am aware, but I think the solution could be to just put two Run flow built with PAD actions into your cloud flow, then edit the Configure run after settings on the bottom one, to only run if the first one failed or timed out.

Thank you Henrik,


I implemented a similar solution of just having two separate flows scheduled to run knowing one would fail.  A similar but less than elegant solution.


I tried creating a parallel conditional action but it was immediately after a trigger which prevented me from specifying when it would run.


I will look into the run-after configuration.  Thank you!

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (3,115)