Forum Discussion

ABSOmar's avatar
ABSOmar
Regular Visitor
7 months ago
Solved

Error while trying to load data from my lakehouse to Dataverse

Hello Team, I'm currently trying to load data from a Lakehouse table into a Dataverse table using a pipeline copy activity. While this isn't my preferred solution, it was the only method I found to ...
  • v-hashadapu's avatar
    7 months ago

    Hi ABSOmar , Thank you for reaching out to the Microsoft Community Forum.

     

    This error is not because of having two GUID fields and it is also not a simple string-to-GUID formatting issue. The copy activity is reaching Dataverse successfully, which means the GUID values are being parsed correctly. The failure happens when Dataverse tries to resolve one of those GUIDs as a lookup reference and cannot find the referenced record.

     

    In your mapping, fields like brz_role (and potentially brz_mdrmappingid) are lookup columns in Dataverse, not plain GUID fields. For lookup columns, Dataverse requires that the GUID already exists in the target entity the lookup points to. If even a single row contains a GUID that does not exist or belongs to a different entity than the lookup expects, Dataverse rejects the entire operation with the exact error you are seeing. This also explains why other tables load fine and only this dataset fails.

     

    Verify that every GUID you are sending into lookup fields actually exists in Dataverse and refers to the correct table. If these values are just business identifiers and not Dataverse record IDs, you will need to load or resolve the referenced records first (or use alternate keys) or change the column to a non lookup field if a relationship is not required.