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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Cheywork91
Frequent Visitor

How do I limit the number of times PowerBI desktop queries a SQL database when password incorrect?

When the credentials change to  access our SQL database, anytime anyone enters the wrong password or they accidentally have old credentials somewhere saved in their project, it queries it numberous times then locks us out of the database.

Is there a way to say, if password incorrect, stop and give error message instead of trying to hit the database an excessive number of times? After the password is wrong once, it's never going to be right. 

3 REPLIES 3
amitchandak
Super User
Super User

@Cheywork91 , Unless scheduled on Power BI Service. Power bI do not make too many attempts to connect.

 

You can add connection time out for connection, under advance option

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

That's not correct in my experience. When you click refresh in PowerBI desktop, it hits the server multiple times, even after the password is wrong. It locks you out in under a 2 seconds usually, potentially in under 1.
FP
Frequent Visitor

I agree, is a problem we have, too.

We would need to "force" Power BI to give a message with the authentication error instead of to try several times to connect, because that lead to the lock of the user.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.