Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Siv Sagar 93 Super User 2025 Season 2
#ManoVerse 80
Martin Dráb 64 Most Valuable Professional