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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Nandu2520
Helper I
Helper I

SELECT Permission denied error from Power BI Desktop while connecting to Azure SQL Database

Dear All,

 

I was trying to connect to the Azure SQL database from Power BI Desktop. My DBA has created a new login user in the Database to access the Database from Power BI. When I was trying from Power BI Desktop, I could connect to Database, but When I try to click on any table, it shows below SELECT Permission denied error. When I verified the grants on the new login user, I could see SELECT Grant is there on the tables from dbo. 

Please find the screenshot below :

 

Nandu2520_0-1671079652895.png

Any suggestions on this ? Is there any impact of Microsoft account login also with these permissions?

My microsoft account does not have azure portal access. Is that matter in this case?

 

Thanks.

 

 

1 ACCEPTED SOLUTION

I could connect, execute and load the data now. The issue is in the connection details/setting, the encryption check box is getting selected automatically. I have to unselect that check box and then try connecting again. Then its working. Thanks.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Nandu2520 , Install SSMS to the same machine and try to connect with the same user. It may be ip whitelisting issue.

Make sure IP is allowed and user have privileges

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Yeah, I have already installed SSMS and tried connecting with the user. I could connect and I could execute queries on the same tables. Only Power BI Desktop is giving the issue. Do we need to give any specific permissions to access from Power BI Desktop ?

I could connect, execute and load the data now. The issue is in the connection details/setting, the encryption check box is getting selected automatically. I have to unselect that check box and then try connecting again. Then its working. Thanks.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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