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

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Azure Data Factory: Upsert with alternate key containing a guid

(1) ShareShare
ReportReport
Posted on by 72
Hi,
 
I'm trying to upsert records to dataverse using ADF.  The table in dataverse has an alternate key based on 2 guids.
I am reading the data from a json File. So the guids come in as a string.
Converting to a guid is not possible in the "Derived Column" step.
 
 
In the "Derived Column" step I added this mapping
In the mapping to dataverse I added:
 
 
This is the error I get:
Job failed due to reason: Schema of Source(..... ) doesn't contain key column: ..._productid. 
Please confirm your input schema contains all key columns
The above is necessary to link the lookups. I tried to add the guids also as strings to the mapping (without the /products and without the odata.bind) but that doesn't help.
 
Is there a way to get this done or is the only way to solve this to work with text fields for the alternate key?
 
 
 
Categories:
I have the same question (0)
  • Verified answer
    WouterVD Profile Picture
    72 on at
    Azure Data Factory: Upsert with alternate key containing a guid
    Microsoft has made a change that now makes it possible to update lookups just by passing the guids as a string.
    Upsert based on 2 guids now also works.

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 819 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics