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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

SQL Server to Dynamics migration

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi,
 
I'm using copy activity to migrate records from SQL server to Dynamics CRM but after inserting few thousands records it gives me below error, although we MS has removed API limits for our environment for purpose of data migration. Specifying different batch size and degree of parallelism also doesn't seem to help.

ErrorCode=DynamicsOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Dynamics operation failed with error code: -2147220891, error message: Object reference not set to an instance of an object..,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,'
 
 
I have the same question (0)
  • CU27040912-5 Profile Picture
    2 on at
    Hi,
    we were struggling with similar problems.
     
    Here is a list of error codes:
     
    This exact error code means :
    0x80040265
    -2147220891
    Name: IsvAborted
    Message: ISV code aborted the operation.
     
    So I would say there is a custom plugin that throws an error because an EntityReference object is NULL or something similar, plugin debug/tracing may help in this case.
     
    Best regards,
    Barna

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 62 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans