Digital transformation technology strategy, Person using lap

How to Merge Duplicate Records in Dynamics 365 (Step by Step)

Duplicate accounts, contacts and leads are the most common data-quality problem in Microsoft Dynamics 365. They split activity history across records, skew reporting, and make sellers look unprepared when two colleagues call the same customer. This guide walks through how to merge duplicate records in Dynamics 365, first with the built-in merge tool, then at scale when you have more than a handful.

Step 1: Find the duplicates

Before you can merge, you need to know what is duplicated. Out of the box, Dynamics 365 offers duplicate detection rules (Settings → Data Management → Duplicate Detection Rules) that warn you when a new record looks like an existing one. Their main limitation: they rely on exact matching. “Jon Smith” and “John Smith”, or “Contoso” and “Contoso Ltd”, sail straight past them. For sound-alike and fuzzy matches you need phonetic duplicate detection.

Step 2: Merge two records with the native tool

For accounts, contacts and leads, Dynamics 365 has a built-in merge:

  1. Open a view that shows both records (for example “All Contacts”).
  2. Select the two duplicate records.
  3. Click Merge in the command bar.
  4. Choose the master record and pick which field values to keep.
  5. Confirm. The losing record is deactivated and its activities, notes and related records are re-parented to the master.

This works well, for exactly two records at a time that you already know about.

The problem: native merge doesn’t scale

The built-in tool has hard limits that show up quickly in a real CRM:

  • Two records at a time. A customer that exists five times means four manual merges.
  • Only accounts, contacts and leads. Custom tables and other entities are not supported.
  • No detection beyond exact match. Misspellings, extra spaces and sound-alike names stay invisible.
  • Nobody has time. With thousands of records, manual merging is a project no one finishes.

Step 3: Merge duplicates at scale, automatically

When you are past a handful of duplicates, the practical route is automation. Techdio’s Data Quality Appa Microsoft-certified app on Microsoft Marketplace, extends Dynamics 365 with:

  • Advanced detectionincluding phonetic (“sounds-like”) matching that catches what exact-match rules miss.
  • Bulk and automatic mergewith rules that decide which record wins and which field values survive.
  • Preventionso new duplicates are caught at the point of entry rather than cleaned up later.
  • Your data stays in your environmentnothing leaves your Dataverse.

The workflow becomes: define your matching rules once, review what the app finds, and let it prevent, identify and merge duplicates continuously, instead of a heroic one-off cleanup that is outdated a month later.

Frequently asked questions

Can Dynamics 365 merge more than two records at once?

Not natively. The built-in merge dialog handles exactly two records per operation. Merging in bulk requires an add-on such as the Data Quality App.

What happens to activities when records are merged?

Activities, notes and related records from the deactivated record are re-parented to the master record, so history is preserved in one place.

Does merging work for custom tables?

The native tool does not support custom tables. Automated tools can extend duplicate detection and merging to custom entities across Dynamics 365 and Power Apps.

Want to see your own duplicate situation? Start a free trial or read the complete guide to duplicate detection in Dynamics 365.

Frequently asked questions

Can I merge more than two records at once in Dynamics 365?

Out of the box, Dynamics 365 merges two records at a time. Bulk merge in the Data Quality App handles whole groups of duplicates in one operation, using master-record rules to decide which values survive, at millions-of-records scale.

What happens to the losing record in a merge?

It is deactivated, not deleted, and its child records are re-parented onto the master record. With master-record rules you control exactly which field values survive the merge.

Improve your data quality in Dynamics 365

The Data Quality App keeps records complete and correct with data quality rules at the point of entry, finds duplicates with fuzzy and phonetic matching, resolves them with bulk merge and measures your data health over 30, 60 and 90 days. Native in your own environment, free for 15 days.

Start your free 15-day trial See the Data Quality App

Hasret Smajlović is the co-founder of Techdio, a Microsoft Certified Global ISV building data quality and migration solutions for Dynamics 365 and Power Apps. Working in the Microsoft business applications ecosystem since 2009, Hasret has delivered more than 100 end-to-end Dynamics 365 implementations, upgrades and migrations across cloud and on-premises environments. In 2024, Microsoft selected Hasret for its Partner Advisory Council as one of the world's top 25 Business Applications professionals among Microsoft partners. Hasret studied strategic management at Harvard Business School Online and holds a Mini MBA in organizational leadership.