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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger UI flow unatte...
Power Automate
Unanswered

Trigger UI flow unattended from Scheduled flow on Windows Server 2016

(0) ShareShare
ReportReport
Posted on by 59

Greetings. I am stumped on something and wonder if anyone can point me in the right direction.

 

  • I have a UI flow that works fine (logins to a website and downloads data) when I trigger it manually.
  • I want to use a Scheduled flow to run it unattended.
  • However, it fails due to the computer having another user session running.
  • The computer I work on is Windows Server 2016 - which is always on for other reasons.

Grateful for any pointers ...

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    • When you run the flow as an attended flow manually are you on the Windows Server 2016 machine or your workstation?  If you developed the flow on your workstation make sure that the Selenium IDE is installed on the server and that the browser is the same version and settings.
    • Make sure you log out of the Windows Server with the account you used to make the attended UI Flow.  UI Flow can't run unattended if the user account for the flow already has a session open on the Windows server.
    • If you have more than 2 users logged in to the Windows Server make sure you enable Remote Desktop services on the server and add the user for the UI flow to RDS.
  • TomTomTom Profile Picture
    59 on at

    Pstork1 thanks.

     

    I usually never sign-out of Windows Server 2016 - I just close the Remote Desktop Connection. I have some Task Scheduler and VBA processes that (I believe) require this... It seems then like I can't use Scheduled Flow + UI Flow unattended given this?

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at

    You should still be able to use UI flow, but you are going to have to use a different user account to provide the security context for the flow.  This is a known issue if you want to run multiple UI flows in parallel.

  • TomTomTom Profile Picture
    59 on at

    Thanks - sound good. Does that mean I just ask IT for a second login and use that for unattended work?

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at

    That would work, but shouldn't be necessary.  I need to do some more research to see how you establish a different user session for the BOT running the unattended flow.

  • TomTomTom Profile Picture
    59 on at

    Thank you - I'd be very curious to know what you discover ... in the meantime I will get on to IT!

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 506 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard