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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Fernandamrl
New Member

Microsoft SQL: Cannot open server

Não estou conseguindo acessar atraves do Power BI Desktop minha base de dados do Azure. Logo que instalei o power BI consegui acesso e importei algumas tabelas para testar. Exclui o arqui e tentei nova conexão dom directyQuery e a resposta que obtenho é: Detalhes: "Microsoft SQL: Cannot open server "lstranslog.com.br" requested by the login. The login failed." Ja tentei importar, conectar através do sql server e não consigo. Consigo acessar minha base de dados através do sql management studio. Ja desinstalei o power BI Desktop e reinstalei e não consigo acesso.
1 ACCEPTED SOLUTION
v-xjiin-msft
Solution Sage
Solution Sage

Hi @Fernandamrl,

 

In your scenario, you are trying to connect Power BI to Azure SQL Server. However, it returns an error. Right?

 

First, what's the version of your Power BI Desktop? You can verify this under File -> Help -> About.

 

Then to troubleshoot your issue. You can try following method:

1. If you have ever connected to Azure SQL database in Power BI Desktop, I would recommend you go to “File –> Options and Settings –> Data Source Settings”, under “Global permissions”, select any old Azure SQL data source connections and click on clear permission. Then re-connect to Azure SQL database from Desktop,  also enter database name during the connection.

 

2. Please ensure that you have set up a firewall rule to allow Power BI Desktop to make a connection to Azure SQL.

 

Thanks,
Xi Jin.

View solution in original post

3 REPLIES 3
v-xjiin-msft
Solution Sage
Solution Sage

Hi @Fernandamrl,

 

In your scenario, you are trying to connect Power BI to Azure SQL Server. However, it returns an error. Right?

 

First, what's the version of your Power BI Desktop? You can verify this under File -> Help -> About.

 

Then to troubleshoot your issue. You can try following method:

1. If you have ever connected to Azure SQL database in Power BI Desktop, I would recommend you go to “File –> Options and Settings –> Data Source Settings”, under “Global permissions”, select any old Azure SQL data source connections and click on clear permission. Then re-connect to Azure SQL database from Desktop,  also enter database name during the connection.

 

2. Please ensure that you have set up a firewall rule to allow Power BI Desktop to make a connection to Azure SQL.

 

Thanks,
Xi Jin.

@v-xjiin-msft I'm using SQL Azure, Can you help me find some reference on how to Allow PowerBI desktop  as you mentioned.

Olá,

 

Problema solucionado!

Resolvi excluindo e recriando todas as minhas conexoes de fontes de dados e reisntalei o Power BI Desktop.

 

Obrigado!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors