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 / Deploying solutions th...
Power Automate
Unanswered

Deploying solutions that use Desktop flows across environments

(2) ShareShare
ReportReport
Posted on by 313

Is there a good strategy for dealing with desktop flows, and the machine/environment they run on, when deploying solutions across environments?

I have cloud flows that call desktop flows, which run on a specific VM in attended mode. When working in my Dev environment I use Power Automate Machine Runtime on the VM to allocate the machine to the Dev environment.

When I want to deploy to the Test environment or Prod using a pipeline, after a lot of experimentation I find I have to, in this order,

  1. Re-allocate the machine to the Test environment
  2. Edit the Desktop Flow Connection on the machine to remake it (it's a username/password authentication)
  3. Run the pipeline, but take the option to re-verify the Desktop Flow connection when invited
If I don't do this, in this order, I get failures when the desktop flows are called.
 
Then to move on to Prod or go back to Dev I have to this over again. Meanwhile nobody can use the app in Prod because the machine is re-allocated to Dev.
 
Is this the best/most economic/only way to do things, short of paying for separate machines for DEV, TEST and PROD?
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 484

#2
Valantis Profile Picture

Valantis 477

#3
Haque Profile Picture

Haque 456

Last 30 days Overall leaderboard