Uninstall or delete a solution

 

Applies To: Dynamics CRM 2015

You delete managed and unmanaged solutions in the same way, but the resulting actions are very different. Deleting a managed solution will uninstall the managed solution.

In This Topic

Delete a solution

Access the solutions list with a URL

Delete a solution

Depending on the type of solution that you want to delete, you’ll see one of the following Confirm Deletion messages:

  • Managed solution
    “You are deleting a managed solution. The solution and all its components will be deleted. This action cannot be undone. This solution might take several minutes to uninstall. You cannot cancel the uninstallation after it starts. Do you want to continue?”

  • Unmanaged solution
    “You are deleting an unmanaged solution. The solution will be deleted but components that are contained in this solution will not be deleted. This action cannot be undone. Do you want to continue?”

To delete a solution programmatically use the IOrganizationService.Delete method. More information: e8da920b-9660-4f23-aa6b-841a12ea91c1#BKMK_DeleteSolution

Uninstall a managed solution

Deleting a managed solution will uninstall the solution. All the solution components defined in it are deleted.

Important

When you uninstall a managed solution, the following data is lost: data stored in custom entities that are part of the solution and data stored in custom attributes on system entities that are part of the solution.

Delete an unmanaged solution

An unmanaged solution is a group of solution components. Deleting the solution deletes a single solution record in the database. Solution components are not affected by the solution being deleted, they remain in the system.

Access the solutions list with a URL

If you need to navigate directly to the solutions list you can use the following URL:

<organization root url>/tools/Solution/home_solution.aspx?etn=solution

See Also

Package and distribute extensions using solutions
e8da920b-9660-4f23-aa6b-841a12ea91c1#BKMK_DeleteSolution
Introduction to solutions
Plan for solution development
Dependency tracking for solution components
78ec9f71-7845-46c7-be6d-7ac5ade85e28#BKMK_CreateManagedSolution
d5a39fc3-054f-48d3-8dfc-64c4f8afe4dd#BKMK_UnmanagedSolution
d5a39fc3-054f-48d3-8dfc-64c4f8afe4dd#BKMK_ImportUnmanagedSolution
78ec9f71-7845-46c7-be6d-7ac5ade85e28#BKMK_CreateManagedSolution
Create solutions that support multiple languages
78ec9f71-7845-46c7-be6d-7ac5ade85e28#BKMK_InstallManagedSolution

© 2016 Microsoft. All rights reserved. Copyright