An Azure service for ingesting, preparing, and transforming data at scale.
Set the Dynamics/CRM sink ignoreNullValues to FALSE in the Copy activity. With FALSE, ADF updates the destination field to NULL during upsert or update operations. With TRUE, existing values are left unchanged, which matches the behavior being seen.
For this scenario:
- Open the Copy activity sink settings for the Dynamics CRM/Dataverse destination.
- Check the
ignoreNullValuessetting. - Ensure it is set to
falseor left at its default value ofFALSE. - Send the
parentaccountidcolumn as null/blank from the source so the sink can writeNULLto CRM.
Important detail: parentaccountid is a nullable GUID lookup field, so it can be set to NULL.
If the source is a CSV, verify that the blank value is being interpreted as null by the pipeline. If ADF is passing an empty string instead of null, CRM may not clear the lookup field.
References: