Skip to main content

Notifications

Microsoft Dynamics CRM forum
Suggested answer

How to connect a Dynamics Cloud environment as a "Linked Server" in SQL Server Management Studio?

editSubscribe (0) ShareShare
ReportReport
Posted on by 327

Using SSMS I have managed to connect to a Dynamics Online environment: 

Now, I'm trying to add that very same environment as a /Linked Server/ to no success. I was following this tutorial (https://www.cdata.com/kb/tech/dataverse-odbc-linked-server.rst) but I get the following error when trying to connect: 

I'm using the following configuration when configuring the connection:

 

In the /Security/ configuration I use the same login/password as when I connected to the server successfully in SSMS. 

If there is anything obviously that I'm doing wrong please let me know. I'm also suspecting maybe some firewall issue perhaps since this is a production server. Could it be that some port is blocked for /Linked Server/?

  • Suggested answer
    How to connect a Dynamics Cloud environment as a "Linked Server" in SQL Server Management Studio?
    Hello @

    Hope you are well.
    Unfortunately this scenario is un-documented so we must consider it unsupported.
    Dataverse only has documented  powerbi/excel/ connector , and SSMS as preview.
     
    Any other usage on the TDS endpoint should fall on unsupported grounds.

    What we may understand here is that linked servers functionality requires access to additional functions within a SQL server, and that is not available through TDS Dataverse implementation.
     
    Any additional doubts on the mentioned link should be targeted to the owner of the same.
     
    Best Regards,

    Pedro Freitas
    Dynamics 365 Support Escalation Engineer.

     

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans