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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Error while upsert the data using ADF Pipeline from SQL DB to MSD.

(0) ShareShare
ReportReport
Posted on by 2
 Hi,
 
We are migrating the data from SQL DB to Microsoft Dynamics CRM and we are using 'Copy Data' to mapping the field from source 'SQL DB' to Target 'MSD' in ADF pipeline. But there is a case where the GUID of some particular records does not exists (i.e. Contact Id) in the CRM or records deleted/does not exists any more - for which we are getting the below issue and due to which pipeline run gets stop: 
 
/ErrorCode=DynamicsOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Dynamics operation failed with error code: -2147220969, error message: Entity 'Contact' With Id = {Record-Guid} Does Not Exist.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,''Type=System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]],Message=The creator of this fault did not specify a Reason.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,'/
 
So, could you please suggest how we can skip that record which does not exists in Dynamics. 
 
Please help.
 
Thanks
I have the same question (0)
  • Community member Profile Picture
    2 on at
    Error while upsert the data using ADF Pipeline from SQL DB to MSD.
    Hi,
    Its been resolved using Fault tolerance as Skip incompatible rows :)
     
    But now getting issue with ForEach where we are deleting the records which does not exists in CRM.
    Error Details: he expression 'concat(pipeline().parameters.DynamicsURL,'/api/data/v9.0/{EntitySchemaName}(',activity('Get Record To Delete From Dynamics').output.firstRow.{RecordId},')')' cannot be evaluated because property 'firstRow' doesn't exist, available properties are 'count, value, effectiveIntegrationRuntime, billingReference, durationInQueue'.
     
    Could anyone please suggest how to fix this up.
    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 149

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 132

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 123 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans