
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)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-
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://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