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

Delete a large number of records in CRM

(0) ShareShare
ReportReport
Posted on by 35

We are looking to delete a large number of records from CRM. From 4 different entities

We used bulk delete and it took around 6-7 hours to complete

SQL job also took about the same time.

Any suggestions on what is the best option to reduce this time for either of these jobs?

I have the same question (0)
  • Suggested answer
    SS-01100907-0 Profile Picture
    on at
    RE: Delete a large number of records in CRM

    Hi Simon,

    You are already following two best possible ways (bulk delete / SQL jobs), I believe you are deleting millions of records here so this amount of time is kind if expected.

  • Verified answer
    Stefan Cojocaru Profile Picture
    on at
    RE: Delete a large number of records in CRM

    Hi Simon,

    Also try using the SDK to send bulk delete requests, batched together using an ExecuteMultipleRequest: docs.microsoft.com/.../execute-multiple-requests

    DeleteRequest class: docs.microsoft.com/.../microsoft.xrm.sdk.messages.deleterequest

    Please take note of the API limits in order to maximize your throughput: docs.microsoft.com/.../api-limits

    Hope this helps!

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 165

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 148 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans