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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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