web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Best practice to manag...
Power Automate
Unanswered

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
    590 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard