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

How to query D365 CDS through Azure Data Factory or Function similarly to SQL 4 CDS in XrmToolBox

(2) ShareShare
ReportReport
Posted on by 262
I use SQL 4 CDS in XrmToolBox quite often, but I found a case where I need to update some data on D365 Contacts based on a query I've created in SQL 4 CDS in XrmToolBox.  It's using SQL logic that doesn't transpose to FetchXML, so how can I use this SQL style query with an Azure Data Factory against the Dataverse (or is it CDS) as Source so we can update these fields in D365. 
 
The only alternative I have is to pull down every contact into a SQL database or somehow evaluate every contact through a generic FetchXML which I hope can be avoided given I have a query in SQL 4 CDS that returns in seconds the few fields that need to be updated.

Thanks for insight.
I have the same question (0)

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 72 Super User 2026 Season 1

#2
BillurSamdancioglu Profile Picture

BillurSamdancioglu 64 Most Valuable Professional

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans