Use SuppressDuplicateDetection parameter of Request to throw an exception in case of duplicates – Dataverse / Dynamics 365

Sending
User Review
0 (0 votes)

We can make use SuppressDuplicateDetection optional parameter of the Request if we want the configured duplicate detection rules to run and throw an exception while creating or updating the record. We will use the below out-of-the-box duplicate detection rule, that checks for lead having same email address. Below is our code and we can see … Continue reading “Use SuppressDuplicateDetection parameter of Request to throw an exception in case of duplicates – Dataverse / Dynamics 365”