When entering a lead with the same name, an error is thrown for the alternate key, instead of displaying the "ignore/save" and "merge" dialog box.
I know it has to do with the alternate key on the Lead entity. I believe microsoft ships out dynamics with this created for the system. I tried to remove it from my solution, but since it is managed I can't change it. Therefore, I removed it from my development environment (unmanaged) exported and imported as managed in my production environment, but it did not remove this alternate key. My users have a business need that should allow multiple Leads with the same name and this is prohibiting that. Any suggestions?
HI,
Try to deactivate this key instead of removing.
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
You can't deactivate the key in a managed environment.
I take that back, I did deactivate the key, but as you can see it still says that it's active.
The way alternative key works is similar to the way unique identifier(Guid) works. You can't have same alternative key value in two different records. Firstly, you need to deactivate it's alternative key property. Then create a Duplicate Detection rule for that field so you can have Ignore/Save dialog.
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 Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 258
MVP-Daniyal Khaleel 178
Tom_Gioielli 142 Super User 2025 Season 2