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 / Experiencing Challenge...
Power Automate
Unanswered

Experiencing Challenges Transitioning to 'Machines' from Gateway with Multiple Environments. Any Solutions?

(0) ShareShare
ReportReport
Posted on by 2

I'm facing challenges with my desktop flows as we make the transition to using "Machines" instead of the gateway connection. All of my flows are failing, and the connections I make to the machine are broken. Currently, our flow development takes place in the DEV environment within a solution. Subsequently, we export this solution to the managed PROD environment. However, the machine runtime app necessitates specifying the environment for running flows.

 

Flows that appear well-connected in the DEV environment lose their connections once we transfer everything to PROD.

 

My initial thought is to create an "unmanaged layer" in PROD, where I can edit all the flows and include the "Machine." However, this approach seems less than optimal. Am I overlooking a better solution? Is there a way to set up the machine in DEV and then seamlessly transfer it to PROD using these new settings? 

 

These are all for existing flows. 

  • lp_2023 Profile Picture
    2 on at

    Note: This is for cloud flows trying to trigger a desktop flow. 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    If you only have one machine for two environments, the best way I found to do the same is having the machine registered to PROD and then also have the Gateway installed and using a Gateway connection in DEV. When you have both connections created properly in both environments, migrations will not fail and they will pick up the correct connection. It is more important to have a stable and robust connection in PROD anyway, so use the direct-to-machine connection there.

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

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard