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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

POWER BI - Azure Connection

Unable to connect

We encountered an error while trying to connect

 

Details: "Microsoft SQL: A network-related or instance -specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond)

 

That is the message I am getting while I try to connect Power BI to my Azure SQL Database

 

I am using the VPN at my work, but if I disconnect it and try connecting to the Azure again, the Office account cannot sign in order to authenticate.

 

What do I need to do to connect my Power BI to an Azure Database? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

>>I am using the VPN at my work, but if I disconnect it and try connecting to the Azure again, the Office account cannot sign in order to authenticate.

According to the error message and description, it sounds like power bi can't access to a remote server. 
I think this should more related to networks, (your device network and database are in different networks) you need to enable VPN to keep the connection and refresh operation works. 

If you need to do some operations who not require the latest data, I'd like to suggest you not use live mode to connection(directquery, live connection) to connect your datasource. (import mode will import data to power bi desktop side, you can do operation and calculation with these offline records)

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

>>I am using the VPN at my work, but if I disconnect it and try connecting to the Azure again, the Office account cannot sign in order to authenticate.

According to the error message and description, it sounds like power bi can't access to a remote server. 
I think this should more related to networks, (your device network and database are in different networks) you need to enable VPN to keep the connection and refresh operation works. 

If you need to do some operations who not require the latest data, I'd like to suggest you not use live mode to connection(directquery, live connection) to connect your datasource. (import mode will import data to power bi desktop side, you can do operation and calculation with these offline records)

Regards,

Xiaoxin Sheng

sturlaws
Resident Rockstar
Resident Rockstar

Hi @Anonymous

 

do you have access to the Azure portal for your tenant? Check if you need to ad your IP adress in the list of approved IPs in the SQL Database.

Cheers,
Sturla

If this post helps, then please consider Accepting it as the solution. Kudos are nice too. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.