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 / What is the best pract...
Power Apps
Answered

What is the best practice to migrate components from one MPP environment to another?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

there are couple of apps and flows created without the solution which I require to transfer from one environment to another.

 

Can you please share, the best practice ?  I usually do as follows:

 

Environment 1: 

  1. Create solution - "Solution 1"
  2. add components like apps/flows/entities
  3. publish customization
  4. create Managed solution

Environment 2:

  1. Import Solution - "Solution 1"
  2. save components such as flow, while app will be deployed if I am correct

Can I delete the "Solution 1" from Environment 1 and 2? If not, how should I preserve or manage these components? Can you please share the best practices?

 

Thanks,

  • mohsinkhalid Profile Picture
    160 on at

    The best practice is to create a solution in environment 1 like you are doing and then export out a managed version of that solution to environment 2. If you delete the solution from environment 1 you will only be deleting the solution and not the components however you will need it to track changes you already pushed and best practice is to use the same solution for your next release by upgrading the version of it. Please see this series on solutioning for a more in depth review https://mohsinkhalid.com/2020/07/27/how-to-create-a-new-solution-in-dynamics-crm-and-power-platform/

  • David Jennaway Profile Picture
    716 on at

    To add to the previous post, there is an important difference depending on whether you export the solution as managed or unmanaged.

    If you export as managed, then if you delete the solution in environment 2, it will also delete the solution components. Whereas if you export as unmanaged, then if you delete the solution in environment 2, the components will remain.

     

    Also, if you do export as managed, you should keep the original solution in environment 1. This is because the components will belong to the solution in environment 2, and you will only be able to update them in environment 2 (though this depends on what Managed Properties you set) by reimporting from the same original solution (or an updated version or patch from it)  

  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @dave8,

    I would also refer to the Microsoft's ALM best practice pages at: https://learn.microsoft.com/power-platform/alm/?WT.mc_id=DX-MVP-5004271 

    Cheers

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard