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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Preventing duplicate d...
Power Apps
Unanswered

Preventing duplicate data in Dataverse columns

(0) ShareShare
ReportReport
Posted on by 269

I am developing in Access using Dataverse tables as the data sources. I just discovered an oversight on Microsofts's end - there is not a way to prevent duplicate data entries in a column. For example, I have a Case Number generated from another software program. I want to type the Case Number from the other program field into a Dataverse column. The Case Number is attached to a customer. If I type in two John Smith's, for example, I want to make sure that they are unique and not duplicates. I enabled Duplicate Detection but that feature doesn't work. With this deficiency in mind, I am seriously doubting if Dataverse is a viable solution to support data integrity for Access DB's and Model Driven Apps. Yes, I will eventually migrate to Power Apps, but in the meantime are there any work arounds to address this issue? 

  • ChrisPiasecki Profile Picture
    6,428 Most Valuable Professional on at

    Hi @Tal22,

     

    Duplicate detection is meant to detect a potential duplicate. In the model driven apps UI, it prompts the user and let's them decide if they want to proceed anyways or cancel. Since you're creating the record from Access, there is no duplicate detection UI.

     

    If you want to ensure uniqueness is enforced and prevent duplicates, you can setup Alternate Keys. This gets enforced at the data layer. Make sure you clear out existing duplicate records before creating the key or it will fail to create the database indexes  behind the scenes and activate the key.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • Tal22 Profile Picture
    269 on at

    Thanks. I should have mentioned that I tried setting up an alternative key but it did not read the column I needed. Issues such as this does not instill a lot of confidence in me that Dataverse is a serious database solution. I will now have to run Access queries to manually find duplicate data, which adds more labor and complexity, and explain to my non-tech supervisor why Dataverse fails in this regard. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard