PL-400 · Question #442
You are writing C# code to create an alternate key in a table for two columns: Order ID and Order Date. The table has thousands of records. You use the CreateEntityKey message to create the key. When
The correct answer is A. Use the ReactivateEntityKey action.. When EntityKeyIndexStatus returns 'Failed', the prescribed first recovery action in Dataverse is to invoke the ReactivateEntityKey action (or ReactivateEntityKeyRequest via the SDK). This instructs Dataverse to retry building the index without destroying and recreating the key de
Question
Options
- AUse the ReactivateEntityKey action.
- BPublish customizations.
- CUse the DeleteEntityKeyRequest message.
- DDelete duplicate combination values in Order ID and Order Date.
How the community answered
(14 responses)- A86% (12)
- B7% (1)
- C7% (1)
Explanation
When EntityKeyIndexStatus returns 'Failed', the prescribed first recovery action in Dataverse is to invoke the ReactivateEntityKey action (or ReactivateEntityKeyRequest via the SDK). This instructs Dataverse to retry building the index without destroying and recreating the key definition. Only if reactivation fails repeatedly (indicating an underlying data problem) should you then investigate duplicate values (D) and clean them up. Jumping straight to deleting duplicate data (D) before attempting reactivation is premature. Deleting the key (C) is more disruptive and unnecessary as a first step. Publishing customizations (B) has no effect on alternate key index status.
Community Discussion
No community discussion yet for this question.