Forum Discussion
noahcr_csap
2 years agoFrequent 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).
I have tried:
- Downloading .pbids file and opening that in Power BI
- Selecting Get Data -> Azure Synapse Analytics SQL -> Database Login
- Allowing outgoing traffic on ports 1433, 443, 80 on my pc
- Starting over and creating new resource groups, storage accounts, synapse workspaces, etc..
- Connecting to SSMS (I get the same "error: 40" code as seen in the image above)
Turns out our software was blocking the IP address. Thank you everyone for your help.
12 Replies
- AndyDDCMost Valuable Professional
Hi noahcr_csap is the Synapse Analytics workspace within a managed vnet?
- noahcr_csapFrequent Visitor
Hi AndyDDC , no this is not within a managed vnet.
- AndyDDCMost Valuable Professional
Does the Synapse workspace have any IP firewall restrictions?
- noahcr_csapFrequent Visitor
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.