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:
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?
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/
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)
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Don't miss the call this month on June 16th - 8a PDT