web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Delete imported managed Cloned solution

(0) ShareShare
ReportReport
Posted on by 8

Hi, 

If i delete the managed solution(cloned solution latest version) imported to Production, does it delete the old data from the environment?

Scenario is as follows:

Development : Latest cloned Solution is  Solution 1.2.0.0

Production:  Old Solution 1.1.0.0 plus 3 patches 1.1.1.1,  1.1.2.1,  1.1.3.1

UAT:  Old Solution 1.1.0.0 plus 3 patches 1.1.1.1,  1.1.2.1,  1.1.3.1

I have recently cloned the solution in DEV environment and imported the managed new version in UAT and have to do the same in Production.

The issue appeared when importing new version in UAT there were some dependency issues due to which the old solutions were not deleted and in fact  i was left with 

Cloned Solution(1.2.0.0), 3patches (1.1.1.1,  1.1.2.1,  1.1.3.1) and old solution(1.1.0.0) in UAT. So i deleted the imported managed cloned solution in UAT before fixing the dependency errors in DEV, after which it worked perfectly.

Now my worry is if same happens in Production will it be safe to remove the latest version of managed solution, will it remove data as well, since it will contain all components of every patch and base solution?

What should be the right way to deal with if I am left with latest version (but with error) in addition to old versions. 

Thanks,

PS

I have the same question (0)
  • Verified answer
    mobeenmohsin Profile Picture
    on at

    Hi,

    If you delete the managed solution then system will delete all its components, please find more information using at https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/introduction-solutions#managed-solutions and https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/uninstall-delete-solution. Thank you. 

    Best Regards,

    Mobeen

  • Prakash Kalimuthu Profile Picture
    on at

    Hi PS10,

    It is not best practices to remove/delete managed components from production.

    It will remove all the customisation done from the system. Production will have real time data so data will also gets removed. It will be Chaos.

    Create new solution add all the necessary components and import to production.

    Regards,

    Prakash

  • PS10 Profile Picture
    8 on at

    Hi Prakash,

    Thanks for your reply.

    The situation that i am facing is not a simple import and export issue, I have cloned the solution in DEV and then i am importing  it to Apply the upgrade in Production.

    When i did this in UAT i had some issues in Applying the upgrade which automatically left me with the New version plus the old version in UAT but it being UAT i easily removed the New version fixed the issues and reimported to apply the upgrade.

    So are you suggesting,  if in Production i get into similar situation as UAT, i should create a new solution and all all the components and import ? but in that case what happens to the old version, Latest version?

    I am a bit confused.

    Thanks,

    PS

  • Prakash Kalimuthu Profile Picture
    on at

    What I am saying is you should not delete solution in prod, it is not a suggested one.

    Yes, create new solution include necessary components and import to prod. All your customisation will remain, both new and old.

    If it a same solution you need to worry about upgrading the solution. Maintain or overwrite the customisation. Since it is new solution, you will not face any issues.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans