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

Cannot create new session to execute unattended run error

(0) ShareShare
ReportReport
Posted on by 10

I have windows server 2019 installed physical machine that runs a few desktop flows unattended.

 

My flows actually runs smoothly with unattended condition but if Windows Server runs more than approximately  48 hours suddenly my flows fail to run with the error "Cannot create new session to execute unattended run."

 

If I re-start the server everything goes back to normal. So all my flows run unattended as expected.

 

After I start to get this error for my flows, sometimes a flow is able to run and sometimes is not. I mean the same flow can be failed but next time the same failed flow to be run  without any problems.

 

As I said, restarting machine solves this problem.

 

By the way; the same flows can be run attended although it is impossible to  run them unattended.

 

Any help appreciated. 

I have the same question (0)
  • belzinga Profile Picture
    10 on at

    We have a similar problem but even a reboot hasn't brought things back to working. Did you ever find a root cause?

  • elaaboum Profile Picture
    Microsoft Employee on at

    Are you still facing that issue ? If yes, could you provide the run Id as shown below ?

    elaaboum_1-1648038354534.png

     

  • CurtisG Profile Picture
    5 on at

    I just got this issue as well. I'm just here for the solution

  • belzinga Profile Picture
    10 on at

    It turned out in my case, after trying all sorts of things including updating to latest version of everything and creating new everything that the fundamental issue was that my IT department put DUO login security on the machine, which of course stops unattended flows in their tracks because they can't log in.

     

    No solution that I'm aware of. Either have to use a tool that is DUO aware or remove DUO. 

  • elaaboum Profile Picture
    Microsoft Employee on at

    Hi @CurtisG ,

     

    could you provide the runId (see screenshot below) :

    elaaboum_0-1648738869973.png

     

  • elaaboum Profile Picture
    Microsoft Employee on at

    Hi belzinga,

     

    could you provide the run id (see my comments above on how to get it).

     

    We do not support Multi Factor Authentication + in case an extra authentication step is required to RDP to the machine, the unattended runs are expected, currently, to fail !

  • CurtisG Profile Picture
    5 on at

    Ooops. I deleted the flow.

  • elaaboum Profile Picture
    Microsoft Employee on at

    If you got the issue again, please share the runI d here or send it to me as private message !

  • t602 Profile Picture
    4 on at

    @elaaboum I just had this occur today, running a Windows 2019 server  

     

    8910a056-06c2-ed11-83ff-0022481fb88b 
  • elaaboum Profile Picture
    Microsoft Employee on at

    @t602, please follow the instructions here Desktop flow fails with SessionCreationTimeout error code - Power Automate | Microsoft Learn

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard