How Create a linked server to Dataverse from SQL Server

Marty Stev 1 Reputation point

How Create a linked server to Dataverse from SQL Server ?

I would like to know if i can use linked servers to do this and what are the correct properties for the connection. Thanks!

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,126 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Thomas Barnouin 10 Reputation points


    Do you have an other solution in 2023 ? a Microsoft solution..


    2 people found this answer helpful.
    0 comments No comments

  2. AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor

    Hi MartyStev-1127,

    Welcome to Microsoft Q&A.
    You can try to use this Microsoft Dataverse ODBC Driver to set up a linked server for Dataverse data. Please refer to Connect to Microsoft Dataverse Data as a Linked Server for more details.
    In addition, a SQL data connection is available on the Microsoft Dataverse endpoint. The SQL connection provides read-only access to the table data of the target Dataverse environment thereby allowing you to execute SQL queries against the Dataverse data tables. You can also use SSMS 18.4 or later with the Dataverse endpoint SQL connection. Please refer to this doc for more information.

    Best Regards,

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  3. Ronen Ariely 15,091 Reputation points

    Hi @Thomas Barnouin ,

    (1) Please don't use an old thread which someone else started since you cannot control it or close the thread and it it is already closed then no one will check it probably. Better option is to open a new thread and remember to close it at the end

    (2) Regarding your question, you can check this tutorial:

    Option two is to use a simple connection like to another SQL Server (SQL Server Native Client - SQLNCLI) but first you configure the TDS Remoting Service and connect using the port 5558

    Check this for more information:

    1 person found this answer helpful.
    0 comments No comments