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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

ADF pipeline failed - Copy data from Dynamics 365 to Dynamics 365

(1) ShareShare
ReportReport
Posted on by 9
Hi,

We are getting the following error while execution of ADF pipeline:

Failure happened on 'Source' side. ErrorCode=DynamicsOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Dynamics operation failed with error code: -2147187341, error message: The database operation timed out; this may be due to a leading wildcard value being used in a filter condition. Please consider removing filter conditions on leading wildcard values, as these filter conditions are expensive and may cause timeouts..,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,'

Query in the source, indeed contains the following filter conditions with wildcards but they are necessary:
In the past, there were times when ADF pipeline has run successfully.
 
<filter>
<condition attribute="kns_nameofvaccinator" operator="not-like" value="%\%" />
<condition attribute="kns_batchnumber" operator="not-like" value="%\%" />
<condition attribute="kns_nameofvaccinator" operator="not-like" value="%/%" />
<condition attribute="kns_batchnumber" operator="not-like" value="%/%" />
<condition attribute="kns_nameofvaccinator" operator="not-like" value="%|%" />
<condition attribute="kns_batchnumber" operator="not-like" value="%|%" />
<condition attribute="kns_batchnumber" operator="not-like" value="%&quot;%" />

In the past, there were times when ADF pipeline has run successfully.

Anyone any ideas?
I have the same question (0)
  • Anthony Blake Profile Picture
    2,966 Super User 2025 Season 2 on at
    Hi, 
     
    On past successful runs, did the running time come close to timing out?
     
    Can you change it to be more selective (e.g. add criteria to select a small number of records) to retest and rule out a genuine timeout problem?
     
    Anthony
  • BO-28101458-0 Profile Picture
    9 on at
    Hi Anthony,

    Thanks a lot for heads-up. This is what I can see in case of the successful run:



    And the below in the case of failed one:



    As can be seen the order of the magnitude is pretty much the same. 
  • CU09100938-0 Profile Picture
    10 on at
    Thanks for the info.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 65

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 34 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans