Configuring Alternate Keys in MS Dynamics 365 for Sales (Power Apps)
Overview
The Dynamics 365 For Sales Update and Dynamics 365 for Sales Upsert Snaps use Alternate Keys to access data from the Microsoft Dynamics 365 application. You can use Alternate Keys to refer to entities by using unique or nonunique combinations of columns.
This article describes how to add Alternate Keys using Power Apps, and how to define Alternate Keys in the Update and Upsert Snaps.
Adding Alternate Keys
-
Log into the Power Apps portal.
-
Click Solutions in the left-navigation pane.

The list of solutions is displayed.

-
Do either of the following:
-
Click +New solution to create a new solution. Enter the following details and click Create:
- Display name
- Name, Publisher
- Version
-
Select an existing solution that you want to modify. The list of objects for the solution is displayed.
Note: You cannot customize Managed solutions for Alternate Keys.
-
-
Click Tables. Alternatively, you can search for the object using the Search box. For example, type Lead to search for the Lead table.

-
Click Keys. The list of existing Alternate Keys is displayed.

-
Select the key you want to modify and click +New key at the top of the page.

-
Specify a Display name for the Alternate Key and select the Columns you want to include.

-
Click Save. The new key appears in the list. The status is updated from Pending to Active once the key is ready to use.
Configuring the Update/Upsert Snap with Alternate Keys
-
Open a Dynamics 365 for Sales Update or Upsert Snap.
-
Click + for the Alternate Key field set.
-
Add a value for each column.
Note: Use the column's Logical name (not the Display name). You can look up the Logical name in Power Apps by clicking the respective column on the Columns page.
