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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Delete sample data

(0) ShareShare
ReportReport
Posted on by 15

I just installed the Nonprofit Accelerator.  During the install I did not check the box to include sample data.  However, after the install i have some sample data.  Before the install, I had not used dataverse for anything so there was no data.  Is there any way to delete the sample data in bulk?

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

    Hi jeffwllmstaste

    Thanks for reaching out.

     I have verified with our PM team, and they shared as below steps

    I have attached a zip file with two Powershell scripts and a data.xml file which contains the Nonprofit Accelerator sample data. The scripts in this zip file can be used to remove the sample data.

     A pre-requisite for running these script is that we install a Powershell library for Dynamics CRM from here: https://github.com/seanmcne/Microsoft.Xrm.Data.PowerShell . Please follow the instructions to install this.

     Once we have the Powershell Dynamics library installed, the scripts can be executed as follows in a Powershell command prompt:

     If you have Fundraising and Engagement installed in the same environment, then need to disable the FundraisingandEngagement plugin by executing :

        .\disable-plugin.ps1

    • Then remove the sample data by executing:

        .\delete-sample-data.ps1 <path-to-data.xml>

    • Finally, After the deleting the sample data, please restore the FundraisingandEngagement plugin:

        .\disable-plugin.ps1 -disable $false

     Note: Please take a system backup before running the scripts.

    remove_2D00_sample_2D00_data.zip

  • jeffwllmstaste Profile Picture
    15 on at

    Thank you, this looks like it did the trick.  I havent gone through all the tables but it looks like most everything it gone.

  • nehaagarwal24 Profile Picture
    30 on at

    Thanks for script. @Rajesh swamireddy

    Wow Emoji

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans