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

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)
  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    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.

  • akersk Profile Picture
    25 on at

    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.

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 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans