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,...
Suggested Answer

Bulk delete records in entities

(0) ShareShare
ReportReport
Posted on by 1,562

Hello All,

I want to clean up my CRM data by applying some of the filters in entities, records are enormous count (near to 20 million in per entity). I tried with console, CRM bulk delete OOB option, and XRM tool kit (CDS, Bulk Delete plugin ...etc.) but all the options are not working faster. Can anyone please suggest how we should proceed in case you have faced the same issue? 

While using the console I can able to delete but it's not the fastest way since having huge records will take too many days/weeks to clean up entities, even getting timeout error and OOB bulk delete will take too much time since this will follow sequential series of jobs. 

I have the same question (0)
  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Tin Latt,

    Use the console application and delete records using ExecuteTransactionRequest. Run one application in ascending of created on and another application in descending order of created on.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Try creating SSIS package using Kingswaysoft.

    www.kingswaysoft.com/.../installation-and-setup

  • Tin Profile Picture
    1,562 on at

    Thanks for the reply, I want to delete near to 20 million per entity and have 20+ entities. If will go with Console this might take more time to delete and we might get a timeout and other errors as well.

  • Tin Profile Picture
    1,562 on at

    this will work on 20 million in per entity count?

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hello Tin,

    So the case is, that you have multiple tables for which you need to delete records. Am I right?

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • ankit_singhal Profile Picture
    560 on at

    You can use SSIS packages, this is fastest way to delete without any error. Second, you can choose scheduled Power automate. Create Power automate and run that after 1 hour and delete some particular count of records like 10,000 each hour.  

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

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans