cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeonardoGaldino Frequent Visitor
Frequent Visitor

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

Accepted Solutions
Community Support Team
Community Support Team

Re: POWER BI - Azure Connection

Hi @LeonardoGaldino ,

>>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 Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

2 REPLIES 2
sturlaws New Contributor
New Contributor

Re: POWER BI - Azure Connection

Hi @LeonardoGaldino

 

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. 

Community Support Team
Community Support Team

Re: POWER BI - Azure Connection

Hi @LeonardoGaldino ,

>>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 Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)