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 / Unattended Issue on VM
Power Automate
Unanswered

Unattended Issue on VM

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have a desktop flow which runs on VDI machine when i signed in(attended) when i sign-out and run the flow from the cloud it gives the following error

 

{
  "error": {
    "code""SessionCreationTimeout",
    "message""Cannot create new session to execute unattended run."
  }
}
 
"Pragma""no-cache",
  "Strict-Transport-Security""max-age=31536000; includeSubDomains",
  "x-ms-islandgateway""GA0000003",
  "x-ms-run-id""6d4540c8-6895-ec11-b400-000d3a2a1c6f",
  "x-ms-request-id""westeurope:e7baa0e4-ac1a-4779-bfff-2bb3d4b0e86a",
  "x-ms-correlation-request-id""cffc6967-8976-4d5a-a8d3-9c0a76000eb4",
  "x-ms-flow-mobile-ios-version""1.3.0",
  "x-ms-flow-routing-request-id""WESTEUROPE:20220224T115653Z:cffc6967-8976-4d5a-a8d3-9c0a76000eb4",
  "Server-Timing""x-ms-igw-upstream-headers;dur=73.1,x-ms-igw-req-overhead;dur=0.2",
  "X-Content-Type-Options""nosniff,nosniff",
  "x-ms-service-request-id""a2274627-bfdb-4264-9ca3-3ffa75ec1f18",
  "x-ms-correlation-id""c2bec23b-7bd1-4663-92cc-708ba1649b8a",
  "x-ms-activity-vector""IN.2D.IN.0F.IN.1S.IN.01.00",
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""true",
  "x-ms-apihub-obo""true",
  "Cache-Control""no-cache",
  "Date""Thu, 24 Feb 2022 11:56:53 GMT",
  "Content-Length""133",
  "Content-Type""application/json",
  "Expires""-1"
}
 
i checked all the group policy on the VDI and nothing seems preventing it to sign in and do the flow. Checked Event Viewer and shows NT Service\UIflowservice successfully logged on at the time when i ran the flow.
 
whatever i tried it just doesn't run on unattended...
 
Any help or advise please? 
I have the same question (0)
  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Hello
    Have you set your login credentials here?

    Highboy_2-1645710617345.png

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi

    Thanks for the reply.

    i did set my login credentials there. i connect directly to the machine and not using On-Premises Gateway

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Highboy 

    Hi

    Thanks for the reply.

    i did set my login credentials there. i connect directly to the machine and not using On-Premises Gateway

  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    We do the same, and it works flawlessly.
    Are you using the same credentials as you use, when you run it attended?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Highboy 

    Well that's good for you, if you know what is the possible reasons to flag SessionCreationTimeout error? I menat i can see it does connect the VDI but something just timeout the flow?

    Mind blowing....

  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    What version are you running?
    Is it a single flow that fails or all?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Highboy 

    Version 2.17.169.2202 for Power Automate Desktop, not sure about the Cloud Power automate as i don't have access to admin canters to check.

  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Is it all you flows that fails or a single flow?.
    Did you have the same problem with 2.16 or earlier versions of Power Automate Desktop?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Highboy 

    Yeah, I had the same problem on 2.16 too and i thought after the update it will be sorted out but no luck. I created 2 flows which they run smoothly on attended option on the VDI.

     

    Sadly, neither of them run when i change to unattended and schedule it to run at some time and sign off from the VDI.

  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Could you show how you set you scheduled cloudflow?
    If you can, please remember to blur information that you don't want others to see.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard