DYNAMICS 365 CONVERT SOLUTION COMPONENTS FROM UNMANAGED TO MANAGED

You are working on a testing / production environment and you figure out that the imported solution is unmanaged while you wanted it to be managed.
So, what you do to switch it to managed? Is there a way to transform the solution and its components to managed? Yes there is!

In this article, we will see how to change the solution and its components from unmanaged to managed

For the sake of this post, I will work with a custom field and web resource to change them from unmanaged to managed in a target environment.
Convert unmanaged to managed 1
Convert unmanaged to managed 2

The below steps have to be followed to achieve this
  1. In the target Environment, delete the unmanaged solution. Yes, don't be scared! this will not delete its components because they are unmanaged as well
    Convert unmanaged to managed 3

  2. The unmanaged components will still exist in the target environment and you can check them in the default solution
    Convert unmanaged to managed 4

  3. From the Source environment, Export the solution as Managed
  4. In the Target environment, Import the solution. You will get notified that this action will convert the unmanaged components to managed
    Convert unmanaged to managed 5

  5. Once the Import is done, the solution and its components are now managed Convert unmanaged to managed 6
    Convert unmanaged to managed 7


Bonus Tips:
  • If you delete the managed solution from the target environment, its components will also be deleted since they are now managed
  • You cannot import the managed solution directly without deleting the unmanaged solution
    Convert unmanaged to managed 8


Hope This Helps!

Comments

Popular posts from this blog

DYNAMICS 365 FILTER LOOKUP FIELD BASED ON N:N RELATIONSHIP

DYNAMICS 365 LEVEL UP BROWSER EXTENSION - PART 1 - FORMS

DYNAMICS 365 REFERENCE PANEL