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 Apps / ALM: Sharing connectio...
Power Apps
Suggested Answer

ALM: Sharing connection reference and environment variables between flows

(0) ShareShare
ReportReport
Posted on by 145
Hi all,
 
We're a small team of three Power Platform developers, and we've set up dedicated environments for DEV, TEST, and PROD. We also want to be able to see and edit each other's work.
 
To keep things organized, we try to reuse connection references and environment variables across solutions whenever possible. This approach helps us maintain a tidy list of variables and makes bulk changes easier. Our connections include SharePoint, Excel Online, DataVerse, Outlook, and sFTP, while environment references cover file paths, email addresses, etc. Although these are consistent across solutions, they differ between DEV, TEST, and PROD.
 
Previously, we only had TEST and PROD environments, resulting in some unmanaged solutions in TEST. Recently, we pushed a managed solution from DEV to TEST, which caused several issues:
  • All shared objects are now considered 'owned' by the managed solution.
  • There are dependencies 'used by' all unmanaged components that utilize these shared objects.
To address this, we started creating all shared objects in the DEV environment and importing the unmanaged solutions from TEST to DEV. We then deleted everything unmanaged from TEST and reimported them as managed.
 
My question is: Are there any downsides to keeping shared objects within the solutions? While this allows us to push them as managed, it still creates dependencies between solutions. Could this cause issues in the future?
 
If this approach is not ideal, what are the alternatives? One alternative I considered is keeping all shared objects in a separate solution and deleting the actual objects (shared connection references and environment variables) from the solutions we migrate between DEV, TEST, and PROD.
 
I would love to hear your thoughts.
I have the same question (0)
  • Suggested answer
    AlbertoCastro Profile Picture
    1,201 Most Valuable Professional on at
    Hi @Maarten_DIF,
    There are multiple ways to work with shared objects such as connection references, variables, etc.
    Having them in a separate solution and bringing them to the TEST and PROD environments is a good practice and should not cause you any problems in the future.
     
    ---------------------------
    If the solution works, please kindly ✅ check the box "Does this answer your question?" on the bottom left! This will help others in finding the solution more expediently 😄 Also, a Like would be a great compliment!
     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard