Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / How to delete duplicat...
Sales forum
Suggested answer

How to delete duplicate records

Posted on by 130

Hello All,

We have inserted 50k duplicate data how can i detect and delete the records in dynamics 365?

When i tried duplicate detection rules it says as per the below SS.

8358.Capture.PNG

Please suggest.

Regards,

Hima

  • How to delete duplicate records
    You cannot detect more than 5000 duplicate records due to OOB Bulk Duplicate Detection Job limit, which restrains you from detecting more than 5000 duplicates.
    But with Dynamics 365 CRM data hygiene solutions like DeDupeD App by Inogic website.
  • How to delete duplicate records
    Hi,
     
    Did you find any solution? What deduplicator do you use to find any duplicate records?
  • Inogic Profile Picture
    Inogic 23,969 on at
    How to delete duplicate records
    Hi,

    You cannot detect more than 5000 duplicate records due to OOB Bulk Duplicate Detection Job limit, which restrains you from detecting more than 5000 duplicates.
    But with Dynamics 365 CRM data hygiene solutions like DeDupeD App by Inogic, you can easily detect and clean up/delete more than 50,000 duplicates.
    With DeDupeD, you can also detect duplicate records within the same entity and across different entities and merge duplicate records of the same entity into one; define rules to minimize and prevent duplicate records entering the CRM system from the client side or server side; and merge historical duplicate records in bulk.
    Additionally, the app lets you identify duplicates based on changes in fields or columns and also upon saving the record. This data management tool proves helpful in streamlining the data deduplication process for CRM users.
    Download your free 15-day trial from the Inogic website or Microsoft AppSource to get started!
     
    Thanks!
  • RE: How to delete duplicate records

    I have found the duplicate records using the deduplicator. But how do i delete them? there's no option to delete them

  • DynamicsNik Profile Picture
    DynamicsNik 69 on at
    RE: How to delete duplicate records

    excellent solution!

  • LuHao Profile Picture
    LuHao 40,844 on at
    RE: How to delete duplicate records

    Hi HimaM,

    Since 35000 records are too many, you have to take another solution, which is to reduce the scope of duplicate detection. 

    Detect less than 5000 records at a time and delete them, execute them in batches.

    1. First, create a personal view of the entity that need to delete duplicate records, set the filter of the view a liiter more strictly, that is you need to control the number of records in this view to be around 5000 or slightly more than 5000.

    Use Advanced Find to quickly create personal views.

    5165.pastedimage1575860053230v1.png    0068.pastedimage1575860105037v2.png

    Then, repeatedly create personal views, the filtering of each personal view should be different, and control the number of records in this view to be around 5000, until all personal views contain all records of the entity.

    In this case, we divide the huge number records in one view into the appropriate number of records in multipe personal views.

    Then run bulk system jobs to detect duplicate records on these personal views, create bulk system jobs multipe times, selecting a different personal view each time.

    0777.pastedimage1575860746887v3.png

    In this way, the scope of detect duplication is reduced to a single personal view and the detection result must be less than 5000 records, so they will be successfully deleted.

    Here are the relevant documents for reference.

    How to Create and Share Personal Views in Microsoft Dynamics 365: https://www.magnetismsolutions.com/blog/adammurchison/2017/09/14/how-to-create-and-share-personal-views-in-microsoft-dynamics-365

    Run bulk system jobs to detect duplicate records: https://docs.microsoft.com/en-us/power-platform/admin/run-bulk-system-jobs-detect-duplicate-records

  • LuHao Profile Picture
    LuHao 40,844 on at
    RE: How to delete duplicate records

    Hi HimaM,

    Since 35000 records are too many, you have to take another solution, which is to reduce the scope of duplicate detection. 

    Detect less than 5000 records at a time and delete them, execute them in batches.

    1. First, create a personal view of the entity that need to delete duplicate records, set the filter of the view a liiter more strictly, that is you need to control the number of records in this view to be around 5000 or slightly more than 5000.

    Use Advanced Find to quickly create personal views.

    pastedimage1575860053230v1.png    pastedimage1575860105037v2.png

    Then, repeatedly create personal views, the filtering of each personal view should be different, and control the number of records in this view to be around 5000, until all personal views contain all records of the entity.

    In this case, we divide the huge number records in one view into the appropriate number of records in multipe personal views.

    Then run bulk system jobs to detect duplicate records on these personal views. 

    pastedimage1575860746887v3.png

    In this way, the scope of detect duplication is reduced to a single personal view and the detection result must be less than 5000 records, so they will be successfully deleted.

  • Suggested answer
    ashish12 Profile Picture
    ashish12 3,077 on at
  • HimaM Profile Picture
    HimaM 130 on at
    RE: How to delete duplicate records

    Hello Hao,

    Thank you so much for your response.

    Using XRM Toolbox i found the duplicate records. There are around 35000 records duplicated. How do i delete the duplicate one?

    Regards,

    Hima

  • LuHao Profile Picture
    LuHao 40,844 on at
    RE: How to delete duplicate records

    Hi HimaM,

    I would suggest that you first find all duplicate records through XrmToolBox, then merge or delete part of them, and wait until there are less than 5000 duplicates, you can ues OOB delete duplicate records feature.

    Alternatively, narrow down the scope of the duplicate detection rule, first find duplicate records within 5000, delete them, and then find other duplicate records and delete them.

    Deduplicator for XrmToolBox

    Deduplicator helps you find duplicated records in Microsoft Dynamics 365 CE / CRM with ability to overcome CRM limitations.

    This is the download page of XrmToolBox: https://www.xrmtoolbox.com/

    After downloading and unzipping it, open 'XrmToolBox.exe'.

    Contact it to your D365 organization. At Tool Libarary, install 'Deduplicator'. 

    First Load Entities, then select Entity and fields, finally Find duplicates.

    pastedimage1575624128365v1.png

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans