Hi,
I have created a few keys on some of my tables and they have found their way into a managed solution in my test environment. I have since deleted them from my dev environment but no matter what I try I can't get rid of them in my test environment. I've tried using the Default solution and cloning my solution so I get the option to replace the solution in my test environment. No luck so far. I need to get rid of them because they create trouble elsewhere.
Any insights much appreciated!
I've now removed all unmanaged solutions (except the last two that can't be removed). I still fail to upgrade:
Hi @Rydman ,
You can convert your unmanaged solution to managed. At a high level, you'll need to:
More details are documented here. As the article suggests, would recommend copying the environment and testing this process first before doing it on the live environment.
As a general, you should have unmanaged versions of your solutions saved in source control in an unpacked state. Only in your dev environment should the unmanaged versions be deployed. Managed versions should be deployed to any non-development environment.
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.
Yep, that’s it. In fact, it is the unmanaged solution that has problems with keys (it’s a auxiliary tool for shuffling data into the main solution, hence shares tables with it). A follow-up question before I proceed: can I export it, delete ut and then import it again? Or should I stick to all managed solutions in one environment?
Hi @Rydman,
The error typically indicates you have an unmanaged solution in the environment. Can you take a screenshot of your list of solutions, including the column showing whether it's managed or unmanaged? Also, did you increase the solution version number when you exported as managed? The version number needs to be increased to at least a new minor version in order to do an upgrade.
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.
Hi,
I get this error when trying the Update option:
The imported solution and the existing solution must both be managed for upgrade.
I'm pretty sure they both are (the package is named BaseloadInitialAssessment_1_4_0_2_managed.zip) so I guess it must be something else?
Hi @Rydman,
How are you importing the managed solution in your test environment? You must use the Upgrade option in order to delete components no longer present in the solution. Using the Update option will not remove components, only add/update.
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473