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

Community site session details

Session Id :
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 !

I have the same question (0)
  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator 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

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 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.

  • Barnabas Bujdoso Profile Picture
    5 on at
    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
    Mohamed GRAIB Profile Picture
    2,504 Moderator 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 

  • Barnabas Bujdoso Profile Picture
    5 on at
    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 !

  • Barnabas Bujdoso Profile Picture
    5 on at
    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 !

  • Barnabas Bujdoso Profile Picture
    5 on at
    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. 


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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 61 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 52 Most Valuable Professional

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 52 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans