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

Announcements

News and Announcements icon
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
    3,198 Super User 2026 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
    Prüfe, ob ein Plugin, Power Automate oder eine Geschäftsregel den gewünschten Ablauf besser unterstützt. Oft gibt es mehrere Lösungswege. Bei Dudespinner Erfahrungen schätzen viele Nutzer ebenfalls praktische Lösungsansätze.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 66 Super User 2026 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 46 Super User 2026 Season 2

#3
Subra Profile Picture

Subra 38 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans