Skip to main content
CRMMicrosoft Dynamics CRM

Dynamics 365: Duplicate Detection Rules

By October 31, 20212 Comments

Duplicate detection is a must-have feature that helps keep your data accurate and clean.  This makes workflows run more reliably, imports go smoother, and data more reliable.  Below, you’ll find a guide to creating new Duplicate detection rules, which define the parameters by which duplicates are identified. Microsoft has posted a guide on duplicate detection rules as well.

To see your duplicate detection rules, sign in to Dynamics 365.
Select the gear icon, go to Advanced Settings, then select Data Management, then “Duplicate Detection Rules”:

Here, we can see rules created by Dynamics by default (created by: System). Note that there are published and unpublished rules: Unpublished rules are inactive and can be edited. Published rules are active and must be unpublished before editing. Please note that you can only have 5 published rules for the same base record:

Microsoft recommends setting up duplicate detection rules on fields with unique values (think Email), so we’ll create a rule that looks for Contacts with the same email address. Give the rule a detailed name and description.  Select the Base Record Type and Matching Record Type–in this example, we’re using Contact records for both. You can choose to exclude inactive records and specify if the match criteria is case-sensitive. Next, specify the field(s) that we want to check duplicates against. In this case, we’re looking for exact-match duplicates in any Email field. It should be noted that you can specify other criteria, such as same starting or ending characters, then specify the amount of characters to check against. When you’ve finished setting up the rules, go ahead and publish the rule to activate it:

As always, if you have any questions about this post, please feel free to drop a comment below or shoot me an email at megan@marksgroup.net. Thanks for reading!

Join the discussion 2 Comments

  • Andrew Briggs says:

    Hi Megan, thanks for the post. Any idea what a status reason value of ‘publishing’ is, as distinct from ‘published’? We run Dynamics 365 CRM (online).

    • Megan Hagedorn says:

      Hi Andrew,
      I did a little digging into this and multiple people reported that restarting the Async service resolved the issue. Unfortunately, Microsoft support is the only team capable of restarting the Async service for Dynamics 365, so you’d have to open a support ticket with Microsoft to give that a try. You could also try to find the specific system job or process related to publishing the duplicate detection rules, and stop and restart it (similar to how you can cancel/pause/restart workflow process sessions). To access system jobs, you can navigate to Settings->System Jobs under the System heading. Look for any that are pending/suspended/failed, etc. I hope that helps!
      Thanks,
      Megan

Leave a Reply

Skip to content