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
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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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