Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Deleting Managed Solution from Production environment

(0) ShareShare
ReportReport
Posted on by 5

Hello All,

I am currently facing the following issue : 

I have a solution A , that contains a lot of objects, and is being deployed through an azure pipeline, but because of the size of this solution the pipeline times out. 

Now I have splitted the main A solution into smaller pieces : B, C , D , E , F. 

I deployed all my smaller solution to production ( all components and objects inside solution A has been put into one of the smaller ones ) , however, I am still unable to delete solution A from production. 

I tested this with smaller solutions, when this aproach worked, so I am a little disappointed it didnt this time.  The deletion shows dependencies to objects, which are in another solution, which can also be seen in if I check the layers on the objects. 

Any suggestion would be much appreciated. 

Thanks !

  • RE: Deleting Managed Solution from Production environment

    Hello All, 

    I managed to figure out what the problem was : 

    When you put in the Entities to the splitted B,C,D,E,F solutions, you need to tick all objects, and all metadata. After this, the solution can be deleted. 

    Thanks to all, gonna close this. 


  • RE: Deleting Managed Solution from Production environment

    Hello Mohamed,

    I do not wish to delete the components from the splitted solutions, I only wish to delete solution A itself, with it's components distributed into the smaller ones staying on the production environment. It is for release and handling purposes.

    But thanks for your reply anyway !

  • RE: Deleting Managed Solution from Production environment

    Hello Pradeep,

    Unfortunately, I already increased the timeout to 2 hours, and it is still failing. We do not want to increase the timeout further, as we want faster release.

    Thanks for the reply anyway !

  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    RE: Deleting Managed Solution from Production environment

    Hi Barnabas, 

    You can merge all solutions (A,B, C, D, E and F) in one solution (G) (Unmanaged solution) and then you cand delete all your managed solutions. 

    To merge solutions you can use the XRM toolbox "Component mover tool" 

    To see more, please follow this link : 

    https://carldesouza.com/merge-solutions-dynamics-365-power-apps-solution-components-mover/

    Hope that's helpful for you 

  • RE: Deleting Managed Solution from Production environment

    Hello Naveen,

    I do not wish to delete the solution components, just the solution itself, that is why it is divided into smaller pieces. Deleting all managed solutions from production environment would lead to data loss.

  • Suggested answer
    Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Deleting Managed Solution from Production environment

    Hello Barnabas,

    In order to delete solution A, you need to delete the smaller solution first i.e. B, C , D , E , F then try deleting solution A.

    Once all the solutions are deleted, you can reinitiate the deployment process from  AzurePipeline with smaller pieces.

  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,480 Super User 2024 Season 2 on at
    RE: Deleting Managed Solution from Production environment

    Hi,

    Based on below link it seems that you can increase the timeout values of azurepipelines:

    https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans