Solved! Go to Solution.
No worries @Arioule, there are ways to fix this. I assume you environment is not too complex with not many customizations, apps and custom entities? Following are the key steps:
More details on moving from unmanaged to managed: https://docs.microsoft.com/en-us/power-platform/alm/move-from-unmanaged-managed-alm.
I really suggest your go through and understand some of the Power Platform ALM concepts: https://docs.microsoft.com/en-us/power-platform/alm/
Hope this helps!
Hi @Arioule,
This is by design with unmanaged solutions. Unmanaged solutions will never delete components whether it's forms, fields, entities, views, etc. You'll need to manually cleanup target environments from unwanted components. You can also script the delete/cleanup with PowerShell and CDS Cmdlets and tooling.
The recommendation is to use managed solutions when deploying to target environments (e.g. Test, UAT, Prod). With managed solutions components will automatically be removed if no dependencies exists. There are a few best practices however with Managed solutions to ensure you don't get into dependency issues. Here's a good starting point for managed solutions:
https://docs.microsoft.com/en-us/power-platform/alm/solution-concepts-alm
https://docs.microsoft.com/en-us/power-platform/alm/update-solutions-alm
Power Platform ALM: https://docs.microsoft.com/en-us/power-platform/alm/
Hope this helps...
Hi @EricRegnier ,
Thanks a lot for your answer.
I read some articles on internet saying that deploying unmanaged solutions is the best option to go for in production (instead of managed solutions).
Is that right ?
Regards
There are pros and cons for both type of solutions. Managed solution has come a long way and Microsoft now clearly recommends managed solutions for non-dev like environments (Test, UAT, Prod, etc). Its official Power Platform ALM page states it at many occasions such as here: https://docs.microsoft.com/en-us/power-platform/alm/solution-concepts-alm#managed-and-unmanaged-solu...
My recommendation would be to go with managed solutions as well especially if you're starting a new project/app.
Hope this clarifies...
Hi @EricRegnier ,
I have done all wrong from the beginning.
In fact, I started implementing my solution in production environment and then I realised that I also needed a Dev environment. So I created a SandBox environment and imported the solution from production as unmanaged solution. Since then, all changes have been made in Dev environment and have been exported in Prod on a regular basis as unmanaged solution.
Should I keep doing that or should I convert the unmanaged solution to a managed solution in Pro ?
Is "converting unmanaged solutions to managed solutions " an easy process ?
Thanks,
No worries @Arioule, there are ways to fix this. I assume you environment is not too complex with not many customizations, apps and custom entities? Following are the key steps:
More details on moving from unmanaged to managed: https://docs.microsoft.com/en-us/power-platform/alm/move-from-unmanaged-managed-alm.
I really suggest your go through and understand some of the Power Platform ALM concepts: https://docs.microsoft.com/en-us/power-platform/alm/
Hope this helps!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
10 | |
9 | |
6 | |
4 | |
4 |
User | Count |
---|---|
37 | |
27 | |
21 | |
10 | |
6 |