Medium severitydata source
Power BI Refresh Error:
DynamicsAlternateKeyNotFound
What does this error mean?
The alternate key configured for the ADF Dynamics upsert does not exist in the Dataverse entity definition or has been deactivated.
Common causes
- 1The alternate key name specified in the copy activity sink settings is misspelled or uses the wrong key name
- 2The alternate key was deleted or deactivated in Dataverse after the ADF pipeline was created
- 3The alternate key was created on a different Dataverse environment and was never deployed to this environment
How to fix it
- 1Log into Dataverse and go to Settings > Customizations > Entities > [Entity] > Keys to verify the alternate key exists and is active.
- 2Correct the alternate key name in the ADF copy activity sink settings to match the key's schema name in Dataverse.
- 3If the alternate key was removed, recreate it or switch the upsert strategy to use the primary GUID key.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-dynamics-dataverse