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

Announcements

No record found.

News and Announcements icon
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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans