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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
karaoan
Kudo Kingpin
Kudo Kingpin

Power BI Desktop returns incorrect user not authorized message

This is driving me mad: After hours of testing any variation I am still getting errors: I am working with two SQL server databases that use the same database authenticated user. After clicking on the properties of the "source" in power query and using correct database user credentials I am getting User not authorized although credentials are 100% correct. The saved credentials in "Options and settings" are also correct. any ideas?

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

@karaoan - So, are you saying that it is working for one SQL server database but not the other?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks for trying to help @Greg_Deckler! After looking at this some more I think my problem is more related to changing the "navigation" option switching between one db and the other (they are both on the same sql server) but that doesn't seem to be easily supported by Power BI. It looks I have to change the query string with the "Advanced Editor" as it seems if you don't do that, the problem occurs.

I have experimented some more around this: http://community.powerbi.com/t5/Desktop/Simplifying-using-same-dashboard-pbix-file-with-different/m-...

 

but I keep getting into the same problem with incorrect authentication refusal.... 

I suggest you now contact support. 

https://powerbi.microsoft.com/en-us/support/

 

bottom right tile down the page. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
MattAllington
Community Champion
Community Champion

Have you tried deleting the stored credentials completely and trying again?  How about trying to connect to the DB from Excel as a point of reference?  All I can suggest is to try to eliminate one thing at a time, starting clean from some other system.  I would do

different system to confirm it works

possibly power BI Desktop on another computer with a clean workbook

another machine with the problem workbook etc

...until you work out what is wrong

 

very frustrating, I'm sure. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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