Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Error while loading data using Azure Data Factory (Query Mode)

Posted on by 5

Hello,

I am trying to incrementally load data from Dynamics 365 CRM to my Azure Database using Data Factory. In the source field I selected query and typed the below code (as a test) , only to be given the following error : 

"Dynamics operation failed with error code: -2147217149, error message: 'zt_inscription' entity doesn't contain attribute with Name = 'zt_prixcatalogueht ' and NameMapping = 'Logical'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=366355068,"

When I removed this field it just returned the same error for the column below it and yes I am sure that field exists.

Thanks in advance.

7317.Screenshot.PNG


  
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

		     
      
	  
             


  

  • Suggested answer
    Adnane-K Profile Picture
    Adnane-K 5 on at
    RE: Error while loading data using Azure Data Factory (Query Mode)

    Hello,

    I have been playing around with that code and apparently if you remove all attributes it does something similar to SELECT * in SQL

    <fetch>

     <entity name="zt_inscription">

        <filter type="or">

         <condition attribute="createdon" operator="on" value="2021-04-06" />

     <condition attribute="modifiedon" operator="on" value="2021-04-06" />

                </filter>

     </entity>

    </fetch>

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans