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 Apps / Moving existing Power ...
Power Apps
Unanswered

Moving existing Power Apps into Solutions and using environment variables

(0) ShareShare
ReportReport
Posted on by 313

I'm trying to understand Solutions, ALM and environment variables. Early days.

Like many, I'm sure, I have dozens of apps developed over the years in the Default environment, outside Solutions. Between them they have hundreds of connections to SQL Server on an Azure VM (not Azure managed SQL Server) and flows that call stored procedures for all the heavy lifting.

I can see the value of moving all this into Solutions, using environment variables, and improving ALM. I think I understand how to move an app from default environment into a Solution and thence into 'proper' environments. But does this also mean recreating every single connection to SQL in every app, and rewriting every flow, so as to use environment variables? That's a monumental task.

Most of the tutorials I've seen seem to be about Sharepoint or Dataverse data sources, not SQL. I can't quite grasp whether the environment variable concept operates at the connection level - the connection to a particular SQL database - or at the table level - the connection to an individual table or view within the database.  The former might be just about tolerable, but the latter is really depressing. I don't want to start on weeks of work rewriting everything if either it's not necessary, or Microsoft is going to come along with a tool to automate this and spare the pain - if so, I'll wait!

 

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Solutions are containers for virtually every kind of app and dataverse customization you can make in power platform. Adding your app is just the beginning.

     

    Your custom connectors can also be added to a solution, your flows can be added to a solution, and yes, environment variables can be added to a solution. To move your app with all is dependencies, you need to add the app and it's dependences to your solution.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard