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 / Cannot create new sess...
Power Automate
Answered

Cannot create new session to execute unattended run

(0) ShareShare
ReportReport
Posted on by 611

I've looked through all of the current posts on this and they didnt help. 

 

We are using a service account on an Azure Virtual Desktop using a machine (not a gateway). 

The Service Account does have a Power Automate license and and we have an unattended license for the environment it is using. 

The machine is showing as connected, so I know the virtual desktop is online and running power automate when no one is logged on. 

 

What could be going on? 

  • mattias1172 Profile Picture
    on at

    What is the exact error you are getting?

     

    Also, to be sure, no one is logged in at the same time the flow tries to connect? If your running windows 10/11, only 1 logged in user at a time is supported. 

  • TesDA Profile Picture
    611 on at

    @mattias1172  We're running Windows Server 2016 Datacenter. Does it need to be a later version of Windows Server?

  • TesDA Profile Picture
    611 on at

    I just checked the docs and it looks like Power Automate Desktop supports Windows Server 2016 Datacenter however that might be outdated. https://docs.microsoft.com/en-us/power-automate/desktop-flows/setup

  • mattias1172 Profile Picture
    on at

    If the VM matches the prerequisites, try setting up power automate runtime on another computer and running the unattended flow on that. This will being to shorten our potential problems. 

     

  • elaaboum Profile Picture
    Microsoft Employee on at

    Hi @TesDA ,

     

    could you share the runId of the unattended run that failed with that error. (see screenshot below for how to get that runId):

     

    elaaboum_0-1648799827588.png

     

  • Verified answer
    TesDA Profile Picture
    611 on at

    After alot of back and forth with our colleagues in our national dept we learned that we need a gateway

  • AlexScharpé Profile Picture
    35 on at

    Hello,

    Experiencing the same issues here, wouldn't know how to solve as I bump on this error quite inconsistently.

    Here's a runID of my unattended run:

    AlexScharp_0-1663051427768.png

     

    Any idea how this issue could be resolved?

     

    Kind regards,

    Alex

     

  • CParsons09 Profile Picture
    141 on at

    Isn't MS deprecating gateways? 
    Have you had any issues going after using a gateway? 
    We just moved our VM's from local infrastructure to Azure and getting this error sporadically. With automations running 24/7, we aren't always available to restart the flow. 

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard