Skip to main content

Notifications

Community site session details

Community site session details

Session Id : blbUoiN73cKhAMq2S27BtN
Power Automate - Power Automate Desktop
Answered

Changed Machine Account and Now Unattended Mode Issue

Like (0) ShareShare
ReportReport
Posted on 28 May 2024 17:16:01 by 21

Hello everyone,

 

My Desktop flows were working in attended and unattended mode on my VM. I was trying to resolve a different issue and updated the Service Account for the PAD machine runtime to my account. I was having connection issues so I reverted back to the default Service Account, but now I can't get my flows to run in Unattended mode.

choffman_1-1716916421548.png

 

 

I tried deleting/creating a new connection. I deleted the old machine and created a new machine. I created a new connection reference in the flow Solution. But the cloud flow will get stuck on the Run Desktop Flow step and nothing appears to be happening.

choffman_0-1716916205699.png

 

 

I also noticed that I can now log into my VM when the Desktop Flows are still running in unattended mode (which I don't think I was able to before), and it looks like the desktop flow was running. The web browser is still open and on the web page I'm feeding in from the Cloud flow.

 

I think when I changed the runtime account it cached somewhere and is allowing this "partial" connection, but I'm not sure what else I can do to fix this besides an uninstall/reinstall. 

 

Any help is appreciated, thank you!

  • Verified answer
    choffman Profile Picture
    21 on 30 May 2024 at 13:40:57
    Re: Changed Machine Account and Now Unattended Mode Issue

    Here's what I did and it's now working:

     

    1. Uninstalled Power Automate Desktop on my VM
    2. Delete all possible files from my Power Automate Desktop folder on VM (some files were still running so I skipped those)
    3. Deleted my Power Automate Desktop Connection References in my Solutions (in cloud portal)
    4. Deleted my Power Automate Desktop Connections (in cloud portal)
    5. Deleted my Power Automate Desktop Machine (in cloud portal)
    6. Reinstalled Power Automate Desktop on my VM
    7. Started Power Automate Desktop on VM and went to Machine setting to set it up on the environment.
    8. Registered my machine on cloud portal, created a new connection, and created new connection references in my solutions.
    9. I then updated the connections in my cloud flows and it is now working. 
  • choffman Profile Picture
    21 on 30 May 2024 at 13:38:50
    Re: Changed Machine Account and Now Unattended Mode Issue

    @Deenuji -

     

    I tried the steps with only deleting the machine, and then also did those steps of copying my cloud flow, and deleting/creating new Run Desktop flow actions and both of those didn't work.

     

    I was only able to get it working after uninstalling PAD. I'll post the steps that I took.

     

    Thank you for taking the time to help me.

  • choffman Profile Picture
    21 on 29 May 2024 at 18:00:10
    Re: Changed Machine Account and Now Unattended Mode Issue

    Hi @Ahammad_Riyaz -

     

    I have already deleted my old connection and added the new connection to the new machine. This did not resolve the issue.

     

    Any other suggestions?

     

    Thank you!

  • Deenuji_Loganathan_ Profile Picture
    6,105 Super User 2025 Season 1 on 29 May 2024 at 05:49:46
    Re: Changed Machine Account and Now Unattended Mode Issue

    @choffman 

     

    You may try to delete your machine from cloud orchestrator first.

    Deenuji_0-1716961559858.png

     

    Please attempt to uninstall and reinstall Power Automate Desktop, followed by performing a fresh machine registration, and then try running the flow again.

     

    If the issue persists after these steps, consider copying your cloud flow, removing the existing "Run Desktop Flow" action, and recreating it. Ensure to create a new connection for the action as well.

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

     

  • Riyaz_riz11 Profile Picture
    2,666 Super User 2025 Season 1 on 29 May 2024 at 05:13:51
    Re: Changed Machine Account and Now Unattended Mode Issue

    Hi  @choffman ,

     

    I wish delete the old connection in connection setting and add new machine settings.

     

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    Regards,
    Riyaz

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,771 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started