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).
- Navigate to Settings → Data Management → Duplicate Detection Settings.
- 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.
- Save settings.
- Go to Advanced Settings → Data Management → Duplicate Detection Rules.
- Click New.
- 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).
- 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.
- After creating the rule, click Save and Close.
- Then click Publish to make it active.
- Rules must be published before they can be applied.
- On Record Create/Update → If user tries to save a duplicate, a warning is displayed.
- During Import → The system validates incoming data and flags duplicates.
- 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).
- 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:
- 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.
Published on:
Learn moreWe can help you with Microsoft Dynamics 365 Customer Experience Analyst : Configure duplicate detection
If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.
Related posts
From Conversations to Automation: Understanding Microsoft Copilot Studio
In November 2023, Microsoft announced that Power Virtual Agents was becoming part of Microsoft Copilot Studio. Microsoft now characterizes Cop...
Copilot Studio: Agent Integration Approaches — Tools, Knowledge, and Agents
In Copilot Studio, agent integration employs the same fundamental integration concepts and patterns used in traditional enterprise integration...
Copilot Studio: How to Plan Integration with Enterprise Systems
Integrating Microsoft Copilot Studio agents with enterprise systems transforms a basic chatbot into a secure, intelligent digital teammate tha...
Book Review : The Manager 's Path : A Guide for Tech Leaders Navigating Growth and Change by Camille Fournier
After a long time, I came across a book that is truly valuable for engineering students and professionals, especially those working in t...
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...
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...
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...
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...
