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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Alternate Keys - Inactive Records

(0) ShareShare
ReportReport
Posted on by 50

Hi Community, 

I created an alternate key for the contact entity for emailaddress1.

I have no duplicates in my active records, but there are many duplicates in the inactive records.

Does the process to create / activate an alternate key also check inactive records?

Thanks,

  • Verified answer
    LuHao Profile Picture
    40,892 on at

    Hi Debbie,

    Yes. The alternate key also acts on inactive records.

    Its scope is all records of the entity, so no matter what state it is.

    So if there are duplicates in the inactive records, the status of the Alternate Keys is Failed.

    You need to delete all duplicate records, then click on “More Action” and select “Reactivate Key” option.

    https://www.advantage.co.uk/blog/tips-tricks/how-to-deliver-true-value-with-alternate-keys-in-dynamics-365/

    https://www.inogic.com/blog/2018/06/handle-alternate-key-exception-event-failed-due-to-an-exception-in-dynamics-365/

  • LuHao Profile Picture
    40,892 on at

    Hi Debbie,

    Don't forget to close this theme by clicking Yes to mark the verified answer.

    4314.PNG

    This will help other users quickly navigate to this theme.

    Thanks.  

  • Debbie Rhebok Profile Picture
    50 on at

    Hi Lu,

    I did not confirm it answered my question, because i had to validate it first and this took a while.

    But i managed to get rid of all the duplicate email addresses, also in the inactive records and was able to successfully activate the key.

    Thanks again for your help!

    Best regards,

    Debbie

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans