Announcements
No record found.
Greetings,
Is there a way to add a unique (text) field on an existing talbe/entity in dynamics 365? In my case, the contact entity.
Regards,
HD
Hi,
Thank you for your query.
You can add an alternate key, which adds an index and acts as a unique key
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/define-alternate-keys-entity#:~:text=All%20Dynamics%20365%20Customer%20Engagement,unique%20identifiers%20defined%20as%20GUIDs.&text=This%20alternate%20key%20can%20be,unique%20identity%20for%20your%20records.
Here are steps:
Please note, you can add up to 5 Keys at max per entity.
Another approach is to set Duplicate Detection rules to avoid duplicates (based on a a field or a combination of fields), but it won't force uniqueness:
https://docs.microsoft.com/en-us/power-platform/admin/set-up-duplicate-detection-rules-keep-data-clean
Thank you very much for the detailed and precise answer.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 172
ManoVerse 58 Super User 2026 Season 1
Niki Patel 42