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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Query Dataverse Architecture

(0) ShareShare
ReportReport
Posted on by 20

Hi there,

I am using Dynamics CRM Online and we have several applications that need to consume data from Dataverse. Some of them are on premise, some on cloud. And some new consumer applications may come in the future.

My question/ point for discussion is, how would you approach this architecturally?

1) each consumer will write its own code to get the data it needs, or

2) create a central, 'proxy' application to expose all data needed, for all the consumer applications

3) other?

Second question/ point for discussion. I assume web api is the way to go (let me know if not). How would you design the exposed operations for solution (2).

1) The simplest approach is to code each operation separately, or

2) Somehow parametrically define the queries and then dynamically construct the web api calls and expose all operations in a common interface. 

Third question, supposing solution (2) is a C# application, how/where would you deploy this?

I would highly appreciate your thoughts and experiences on the above.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    I would recommend to use newly introduced feature by Microsoft to direct query data using SQL

    docs.microsoft.com/.../dataverse-sql-query

    This way different consumer can connect to same sql to get the data required.

    Other option is to set up Data export service to replicate the CRM online data to Azure Sql server in near real time -

    docs.microsoft.com/.../replicate-data-microsoft-azure-sql-database

    Please mark my answer verified if i were helpful

  • george.bekos Profile Picture
    20 on at

    Hi Bipin, thank you for the answer. It is not exactly what I am looking for. My question mainly has to do with how to architect a set of retrieval operations from Dataverse to be consumed by several applications.

    Should the consumer applications do it themselves (with direct connectivity to the Dataverse) or would it be better to create a mediator service and expose through it all the operations needed?

    If the recommended approach is the second, how would I decouple the development of new operations from the consumption of the existing ones? How would I facilitate changes and make creation of new operations easy?

    Then, if this is a C# application, where would you deploy this, taking into account that the consumer applications can be on premise or on cloud.

    So, basically, my question/ thread for discussion has more to do with the architectural aspect.

    Secondarily, it seems that the recommended way is to go with the Web API. The SQL query is still in preview and has the limitation of 80MB and no paging (except if I implement this in a custom way), or am I missing something?

    Thanks everybody for your time!

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 March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 134

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 57

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans