Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Can't connect to Datamart over Excel or Azure Data Factory or SSMS

Hello Community,

 

I have created a small testing Datamart based on this brand-new functionality. Works really well in the service/browser. 

I am facing problems when it comes to connecting to it over it's SQL endpoint. I have tried the following:

 

1. Open in Excel Feature: I get the following error message that a connection was established but an error occured during the pre-login handshake. (provider: SSL Provider, error 0: The wait operation timed out)

prashsub_0-1654609555141.png

 

2. SSMS v18.7.1

 

Tried using the connection string from datamart, and get the same error as below. 

prashsub_2-1654610057917.png

 

I also tried adding a port number to the connection string - both the standard port number 1433 as well as 1978 (as shown in Intro video MS) but neither seemed to help. Although, adding the port number to the connection string did change the error message to The server was not found or was not accessible.

 

prashsub_3-1654610400865.png

 

I tried with Azure Data Factory as well, but face the same issues there as well. I have also reviewed this link Datamart-SQL-Server-Connection-String-Details-Port-number-Share but couldn't find a resolution?

 

I have also confirmed that we are not on Private Endpoint. So I am not sure what else to try at this point?

 

Any help will be appreciated. Thank you

 

@marekr 

4 REPLIES 4
waltheed
Solution Supplier
Solution Supplier

Hi, 

I had the same issue.

I got it to work after selecting Azure Active directory ... as the authentication type.

Both in SSMS and Azure Data Studio.

 

Cheers, Edgar Walther
ITsmart BI and Analytics consultant
otravers
Community Champion
Community Champion

I'm able to connect from Power BI Desktop, Excel Desktop, and the latest Azure Data Studio just using the connection string without specifying the port. I was also able to connect from a Power BI dataflow. If you can't connect from a Power BI dataflow then that would rule out local SSL connectivity issues and would suggest there's something going on with your datamart.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals
Anonymous
Not applicable

Thanks for the pointer @otravers .

 

I tried connecting with the Dataflow through and I was able to connect without any issues.

 

It seems that the issue only occurs when I try to connect from any local source such as PBI Desktop, SSMS, or Excel.

I just tried connecting from Power BI Desktop and got the same error message:

prashsub_0-1654697491591.png

 

Hi, @Anonymous 

It may have something to do with the firewall.

You can try turning off the firewall and try again.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors