web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Duplicate Detection rule for Account getting unpublished when Auditing is turned off for Account entity

(0) ShareShare
ReportReport
Posted on by 190

Hi,

We have a duplicate detection rules for the Account and Contact entities. We also have an Azure Logic App that disables auditing for these 2 entities at 2am for around 5 minutes (can be longer or shorter depending of the number of files being processed) The duplicate rule seems to be getting unpublished for the Account entity when the auditing for Account is disabled (which we don't want)  but the contact rule remains published. Currently we have to publish the account rule every morning. 

Any ideas why this would happen and why it happens to the Account entity only

Thanks

Phil

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hey fillcrocker,

    It has been observed in lot of cases where a Duplicate Detection rule that you’ve once published has later on returned to an unpublished state. 

    Mostly seen-

    • After Importing the CRM Solutions
    • At the time of Bulk Import
    • Changes in Entity Metadata

    Can check here also:

    http://survivingcrm.com/2012/04/did-you-just-disable-duplicate-detection-in-crm-by-accident/

    https://community.dynamics.com/crm/f/117/t/128129

    So this is the product behavior or you can say a bug in CRM. Sometimes it get automatically Publish but sometimes you have to do it manually.

    I can only suggest you, If you are able to figure out when your Logic Apps disabling and enabling the auditing, you can write a simple Console or Web Job that will check every-time in CRM whether the rule is published or not. If not it will Published that rule automatically.

    You can refer following articles in order to Publish the Rule automatically.

    https://community.dynamics.com/crm/b/crmchap/archive/2017/02/12/automatically-publish-duplicate-detection-rules-dynamics-crm-dynamics-365-for-enterprise

    https://msdn.microsoft.com/en-us/library/hh547456.aspx?f=255&MSPPError=-2147217396

    If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans