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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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.

AndyDDC
Most Valuable Professional
Most Valuable Professional

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.

AndyDDC
Most Valuable Professional
Most Valuable Professional

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

AndyDDC
Most Valuable Professional
Most Valuable Professional

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
Most Valuable Professional
Most Valuable Professional

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.