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 / Trigger UI flow unatte...
Power Automate
Answered

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
    69,022 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
    69,022 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
    69,022 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard