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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Minimum credentials on SQL Server to connect via Power BI Desktop

I would like to create a user on SQL Server with minimal permissions (ideally Read Only) that can then be used to log in via Power BI Desktop.  My *.pbix file connects to a database View via DirectQuery.

 

I have one User that is a "sysadmin" under the Server Role and that works.  But, that's too many permissions.

 

I created a new User and gave it Login Properties > Server Role = "public", then went into the database I need and gave it Membership > db_datareader.  I thought this would work, but it doesn't.  I get the "We couldn't authenticate with the credentials provided. Please try again" error.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

This was a weird one, but thankfully someone at DBA.StackExchange gave the simple answer which solved it.

 

The solution was to use a brand new username and start from scratch.  Previously I was using a Username which we use in other places and it must have had some other associations with it.  But, when I used a new Username, it immediately worked as expected!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

This was a weird one, but thankfully someone at DBA.StackExchange gave the simple answer which solved it.

 

The solution was to use a brand new username and start from scratch.  Previously I was using a Username which we use in other places and it must have had some other associations with it.  But, when I used a new Username, it immediately worked as expected!

Anonymous
Not applicable

Hi @Anonymous,

 

Your issue seems more related to setting user permission on database, I'd like to suggest your post this to Sql server related forum for better support.

Msdn forums - SQL Server - Microsoft

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors