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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
noahcr_csap
Frequent Visitor

Cannot connect Synapse serverless SQL pool to Power Bi

I am trying to connect my Synapse Serverless SQL pool to Power BI. Every time I try to connect it I get the same "error: 40 - Could not open a connection to SQL Server" message (seen below).
noahcr_csap_0-1715357928891.png

 

I have tried:

  1. Downloading .pbids file and opening that in Power BI
  2. Selecting Get Data -> Azure Synapse Analytics SQL -> Database Login
  3. Allowing outgoing traffic on ports 1433, 443, 80 on my pc
  4. Starting over and creating new resource groups, storage accounts, synapse workspaces, etc..
  5. Connecting to SSMS (I get the same "error: 40" code as seen in the image above)
1 ACCEPTED SOLUTION

Turns out our software was blocking the IP address. Thank you everyone for your help.

View solution in original post

12 REPLIES 12
noahcr_csap
Frequent Visitor

Hi @AndyDDC , no this is not within a managed vnet.

Does the Synapse workspace have any IP firewall restrictions?

I currently have it set to allow all IP addresses. I also tried allowing the current IP address I was using and I got the same result.

Are you able to connect directly to the Serverless SQL Endpoint from within Power BI?  This can be found in the Azure portal for the Synapse workspace.

 

E.G:

AndyDDC_0-1715698431308.png

 

No, I was not able to connect using the Serverless SQL Endpoint, when I try this, I get the "Named pipes provider" error seen in the image on my original post

Is there any way to try connecting from another network? 

I am working from home today and I was able to connect Power BI on my network. The work network must be blocking Synapse. I will bring this up to the IT department and give an update tomorrow.

Hi @noahcr_csap 
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. Otherwise, will respond back with the more details and we will try to help.
Thanks

Hi @noahcr_csap 
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. Otherwise, will respond back with the more details and we will try to help.
Thanks

Turns out our software was blocking the IP address. Thank you everyone for your help.

Hi @noahcr_csap 
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.

AndyDDC
Solution Sage
Solution Sage

Hi @noahcr_csap is the Synapse Analytics workspace within a managed vnet?

Helpful resources

Announcements
Expanding the Synapse Forums

New forum boards available in Synapse

Ask questions in Data Engineering, Data Science, Data Warehouse and General Discussion.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayFBCUpdateCarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

Top Kudoed Authors