Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Uniqueness not being enforced for one table but working correctly for another

(1) ShareShare
ReportReport
Posted on by 305

I have a Unique Key (on the Name Column) for many tables. While it is working fine for most tables, for atleast one table, the uniqueness is not being enforced. I tried deleting the key and republishing too.

 

What can i do to prevent duplicates. Feels like a bug as its working ok for some tables but not for all

 

 

Categories:
  • Rutu01 Profile Picture
    305 on at
    Re: Uniqueness not being enforced for one table but working correctly for another

    Turns out there were duplicates between the inactive and active records, deleted them, deleted and recreated the key and now all is working as expected

  • Rutu01 Profile Picture
    305 on at
    Re: Uniqueness not being enforced for one table but working correctly for another

    I deleted all duplicate records, But the key creation i still failing with the same error 

     

     

  • Verified answer
    Rutu01 Profile Picture
    305 on at
    Re: Uniqueness not being enforced for one table but working correctly for another

    In the system jobs I have found the following message Index creation failed for Entity Key 'jg_nameuq' on Entity 'jg_itemtype' due to duplicate key records found in the database for the selected columns: 'jg_name'. 

    Index creation failed for Entity Key 'jg_nameuq' on Entity 'jg_itemtype' due to duplicate key records found in the database for the selected columns: 'jg_name'.

    , so i will try to delete duplicates and try creating the key again 

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics