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 / Best practice to manag...
Power Automate
Suggested Answer

Best practice to manage connection reference and environment variable across environments

(0) ShareShare
ReportReport
Posted on by
Hi members,
I had this query. So earlier, as a part of development of power automate, I have been creating new connection references for every newly created solution. So you can say that every solution has it's own set of connection references.

Recently I got to know of a new best practice where, we store all the connection references in a single solution as standard connection reference. Instead of creating a new connection reference, what we can do is import that standard connection reference in the solution needed. Please let me know your thoughts if you are doing so.

Also the primary concern in later approach is that it creates a single point of failure (SPOF). If a single connection reference breaks down, all the solutions deployed will break down.

Also an additional query how do you go about managing environment variable is the similarly creating a single solution for all environment variables and importing them?

Thanks.
Categories:
I have the same question (0)
  • Suggested answer
    ankit_singhal Profile Picture
    618 Moderator on at
    Yes the best practice is you need to create one connection. Yes something there is risk for failure but it will be same if you have many connection they can also be fail.
     
    As MS suggested, you can use service principle connections for PA flow and also move one environment or another using the PAC commands. Using the PAC command you can create JSON file and map the connection so it will be the same for all the flows. Same you can do with environment variables you PAC commands. 
     
    Note: Please mark verified, if it is useful for you 

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
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard