Loading...

Microsoft Dynamics 365 Customer Experience Analyst : Configure duplicate detection

Microsoft Dynamics 365 Customer Experience Analyst : Configure duplicate detection

Duplicate detection in Dynamics 365 is a feature that helps maintain clean and accurate data by identifying and preventing duplicate records from being created. It works by using duplicate detection rules, where administrators define which fields should be compared (like email, phone number, or account name) to check for possible duplicates. When a user tries to create or update a record, Dynamics 365 evaluates it against existing records and displays a warning if a potential duplicate is found. This ensures data quality, avoids confusion in customer interactions, and supports better reporting and decision-making by keeping the Dataverse environment consistent and reliable.


Technically, duplicate detection in Dynamics 365 is a rules-based validation system built into Dataverse that enforces data quality, prevents redundant records, and supports reliable integrations.

Duplicate Detection Rules

  • Configured at the entity (table) level in Dataverse.
  • Rules define which fields to compare (e.g., Email, First Name + Last Name, Account Name).
  • Support exact match, case sensitivity, and partial matching (depending on field type).

Entities Supported

  • Works with most standard and custom entities.
  • Commonly used for Leads, Contacts, Accounts, and Opportunities.

Execution Triggers

  • Create/Update: Checks for duplicates when saving a new record or updating existing data.
  • Import: Validates incoming data files during data import.
  • Bulk Data Merge: Useful when merging or consolidating records.

System Jobs

  • Duplicate detection runs as an asynchronous system job (can be monitored in System Jobs under Advanced Settings).
  • Jobs can be scheduled for bulk detection across selected entities.

Security Model

  • Only users with appropriate privileges (e.g., Manage Duplicate Detection Rules) can create or publish rules.
  • Users without these privileges can still see duplicate detection alerts when interacting with records.

Limitations

  • Performance considerations: Complex rules on large datasets may slow down record creation or imports.
  • No fuzzy logic: Out of the box, it relies on exact matches; advanced matching requires custom plugins or third-party solutions.

Integration with Data Quality

  • Ensures data integrity in Dataverse, reducing risks in workflows, Power Automate processes, and reporting.
  • Helps prevent issues in integrations with other systems (e.g., marketing automation, ERP).

Steps to Configure Duplicate Detection

1. Enable Duplicate Detection (System Setting)

Before creating rules, duplicate detection must be enabled globally.

  1. Navigate to Settings → Data Management → Duplicate Detection Settings.
  2. Select the following options based on requirements:
    • Enable duplicate detection.
    • Check when a record is created or updated.
    • Check during import.
    • Check when Microsoft Dynamics 365 for Outlook goes from offline to online.
  3. Save settings.

This ensures the system will run duplicate checks wherever applicable.

2. Create a Duplicate Detection Rule

  1. Go to Advanced Settings → Data Management → Duplicate Detection Rules.
  2. Click New.
  3. Fill in the following fields:
    • Name → e.g., "Duplicate Contact by Email".
    • Entity Type → Choose the table (e.g., Contact, Account, Lead, or a custom table).
    • Base Record Type and Matching Record Type → Usually the same (e.g., Contact vs Contact). You can also compare across entities (e.g., Lead vs Contact).
3. Define Rule Conditions (Fields to Compare)

  • In the Duplicate Detection Rule Conditions section:
    • Select Field → (e.g., Email, First Name, Last Name).
    • Select Criteria → Exact Match, Same First Characters, etc.
    • Add multiple conditions with AND/OR logic.
Example:

If Email (exact match) OR (First Name + Last Name exact match), then it’s considered a duplicate.

4. Publish the Rule
  • After creating the rule, click Save and Close.
  • Then click Publish to make it active.
  • Rules must be published before they can be applied.
5. Run Duplicate Detection

You can run detection in several scenarios:

  1. On Record Create/Update → If user tries to save a duplicate, a warning is displayed.
  2. During Import → The system validates incoming data and flags duplicates.
  3. Manual Run (Bulk Check):
    • Go to Data Management → Duplicate Detection Jobs.
    • Create a job to scan for duplicates across entities.
    • The results will list duplicate records, and you can take action (merge, delete, update).
Example: Duplicate Detection for Contacts

  • Entity: Contact
  • Rule Name: "Duplicate Contact by Email"
  • Conditions:
    • Contact Email = Exact Match
    • OR (First Name = Exact Match AND Last Name = Exact Match)
  • Result: If a user tries to create a new contact with an existing email or same name, the system prompts:
“A duplicate record has been detected. Do you want to continue?”

Best Practices
  • Keep rules simple → Too many fields can slow performance.
  • Use unique identifiers → Like email, phone number, account number.
  • Cross-entity rules → Example: Prevent Lead with same email as existing Contact.
  • Schedule jobs → Run bulk detection jobs regularly for data cleanup.
  • Train users → Ensure sales teams know how to handle duplicate prompts.
In summary:

Configuring duplicate detection in Dynamics 365 involves enabling it at the system level, creating detection rules with field-based conditions, publishing them, and running detection jobs to clean and maintain reliable data in Dataverse.

Published on:

Learn more
Power Platform , D365 CE & Cloud
Power Platform , D365 CE & Cloud

Dynamics 365 CE, Power Apps, Powerapps, Azure, Dataverse, D365,Power Platforms (Power Apps, Power Automate, Virtual Agent and AI Builder), Book Review

Share post:

Related posts

Power Platform Environment Deep Dive (Part 2)

In Microsoft Power Platform, choosing the right environment type is important because each environment is designed for a different business pu...

1 day ago

Power Platform Environment Deep Dive (Part 1)

Today, in the business enterpriese world, Power Platform enables organization to build application, automate workflow, analyze data  crea...

3 days ago

Book Review : Life 3.0 by Max Tegmark

This is the third book I’ve read this year, and even though I’m still in the early chapters, it already feels like my favorite read of the yea...

1 month ago

Dataverse Views Demystified: Making Data Work for You

In Microsoft Dataverse, users do not always see all the data stored in a table. What they can view depends on their security permissions, role...

2 months ago

Decode & Fix : Shared App host initialization has timed out in Microsoft Power Apps

 Issue :While working with apps in the Microsoft Power Platform, we encountered a critical issue where the application failed to load pro...

4 months ago

Dataverse Integration Patterns: Sync vs Async vs Event-driven (Real Use Cases)

As organizations start using Microsoft Power Platform, Microsoft Dataverse is no longer just a place to store data—it becomes a key part of ho...

4 months ago

Book Review : Don't Believe Everything You Think by Joseph Nguyen

My second book of this year is "Don’t Believe Everything You Think" by Joseph Nguyen. This book was recommended by a friend who strongly belie...

5 months ago

Book Review : Scary Smart by Mo Gawdat

The first book I read in 2026 was Scary Smart by Mo Gawdat, the former Chief Business Officer at Google.In today’s world, Artificial Intellige...

6 months ago

Managing Temporary User Access in Dataverse with Access Teams

Access Teams let you give people access to one specific record, not the whole table.Access Teams in Microsoft Dataverse are a powerful way to ...

6 months ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.