In this tutorial, we walk through the process of creating an alternate key in Microsoft Dataverse. Alternate keys provide a way to uniquely identify records using a natural key, such as an employee ID or email address, rather than the system-generated GUID. This can simplify integrations and data import scenarios.
To create an alternate key:
- Open the Power Apps maker portal and navigate to your Dataverse environment.
- Select the table where you want to add the alternate key.
- Go to the Keys section and click New Key.
- Choose the columns that will compose the key (e.g., Employee Code).
- Save and publish the table.
Once created, the alternate key enforces uniqueness on the selected columns and can be used for upsert operations via API or dataflows. For a detailed demonstration, watch the full video guide.
This tutorial corresponds to Module 5-8 of the Dataverse training series (AB-410).