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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Azure Data Factory: Up...
Power Apps
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?
 
 
 
  • Verified answer
    WouterVD Profile Picture
    72 on at
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard