Skip to main content
Community site session details

Community site session details

Session Id : Y33lOWsvSE79TGeICKuLSw
Power Automate - Power Automate Desktop
Answered

Cannot create new session to execute unattended run

Like (1) ShareShare
ReportReport
Posted on 18 Aug 2023 01:45:59 by 100

I use 'A' account to create cloud flow for run a desktop flow that host on VM machine that use 'B' account remote to.

if I use attended run mode, it works fine.

if I use unattended run mode, it can't work with below error, please help advise, thanks!

 

"error": {
    "code": "SessionCreationError",
    "message": "Cannot create new session to execute unattended run."
  }
  • Verified answer
    trice602 Profile Picture
    13,975 Super User 2025 Season 2 on 18 Aug 2023 at 03:00:19
    Re: Cannot create new session to execute unattended run

    Hi @lion ,

     

    Yes, it is possible to turn off MFA on your VM and is a common practice.  In this case, you would convince your I/T leadership to turn on MFA for account B for your VM so you can run unattended flows.  Again, pretty common practice as far as I am aware.

  • lion Profile Picture
    100 on 18 Aug 2023 at 02:53:50
    Re: Cannot create new session to execute unattended run

    we use 'Duo mobile on android' to authenticate, when cloud flow start, I receive the approval in my mobile, once approved, the flow runs well. 

    is it possible bypass the 'duo mobile on android' step?

    for my scenario, which account used for run desktop flow? A or B

  • Verified answer
    trice602 Profile Picture
    13,975 Super User 2025 Season 2 on 18 Aug 2023 at 01:58:53
    Re: Cannot create new session to execute unattended run

    Hi @lion ,

     

    Most of the time when I see this it is because someone is still logged in to the VM.  As you know, there cannot be any active logins for an unattended session to initiate.  As a test I recommend the following:  restart your VM to ensure no one is logged in, and then resubmit your cloud-to-unattended RPA.

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete