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


The article discusses the use of the "SuppressDuplicateDetection" optional parameter in Microsoft Dynamics 365 to throw an exception in case of duplicate records. The author provides code examples and explains how to configure the duplicate detection rule to check for duplicates based on email address. By setting the "SuppressDuplicateDetection" parameter to false, the code will throw an exception if a duplicate record is detected. The article concludes by highlighting the importance of using this parameter to ensure data integrity.


Article 18m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time