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 :
Customer experience | Sales, Customer Insights,...
Answered

DevOps: Pipeline to remove solution and all Dataverse objects before deploying a new version?

(0) ShareShare
ReportReport
Posted on by 25

Hello everyone,

Is there a kind of step that makes a pipeline remove all artifacts of a solution before deploying a new solution from one environment to another? Generally, a deployment adds to the already present solution. An added "Power Platform Delete Solution" step removes the solution, but it leaves the Dataverse entities/tables intact. including all the data that was entered. To remove everything, is a "Power Platform Reset Environment" step necessary? Or something else?

Best regards,

 - Alex

I have the same question (0)
  • akersk Profile Picture
    25 on at
    RE: DevOps: Pipeline to remove solution and all Dataverse objects before deploying a new version?

    Hi Pradeep,

    Thanks for the swift reply. Yes, the solution is unmanaged. Turning the solution into managed at the target environment may do the trick, indeed! Thanks. I'll give this a try, and get back with the results.

    Best regards,

    - Alex.

  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at
    RE: DevOps: Pipeline to remove solution and all Dataverse objects before deploying a new version?

    Hi,

    Just wanted to confirm, you are deploying Unmanaged Solution from one instance to other ?

    because when we delete managed solution then all custom entities and data get deleted for custom entities from instance.
    and Custom Attributes will be deleted from System entities as shown below:

    pastedimage1634625784718v1.png

    Thanks,
    Pradeep.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 167

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans