March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi
Has any one had this issue of power bi PBIX file locking a user out of the database if there password has changed and the Power Bi file they are opening has the the old password it logs on multiple times and locks them out. This requires the admin guys to unlock the user, but again when the user opens the file it will lock them out ( as the old password is used).
We can delete the credentials ( in edit data source) so that the next time that open the file they can enter a new password but once they hit save , the next time there password expired and a password changes , opening the file will lock them out.
What the best practice with power bi , is there a way to force them to enter a password ..each time they open power bi?
Or any other way ..as we don't want user being locked out when they open an PBIX file and there password has changed
We are usng a HANA database.
Any work around.?
Solved! Go to Solution.
Due to the limitations that you have with your database, the only thing that I can think of is that when the User changes his password (A process that he has to go through), they also make a note that next time they log into their Power BI Desktop file they will have to go into the Data Source Settings and "Clear Permissions" for the SAP HANA data source.
@ozmike is there a way to control the behaviour in the database? I guess this is a database login not a windows login? one way of resolving it could be changing how you authenticate
Proud to be a Super User!
Yes you are on the right track. The database has a policy of password expiry, would be hard to change this as its required for audit. I am suprised that there isn't a permenant option to not store passwords in power bi (any ideas). Sure you can delete credentials , but as soon as you log into the db next time the pbix saves the info again. The user would have to explicitly remember to delete on exit.
Storing the passwords has nasty effect of the pbix locking out the user from the db once they change there password, after x attempts - so it can just be opening the pbix locks you out depending on the number of tables its trying to refresh.
We can't use the windows password as its not sync with the database.
Someone else must have had this problem.
any ideas?
Yes we run into this a lot and it's because we have to use Database Credentials instead of Windows Credentials. The problem would go away if we could use the latter in our organization..but that would be something that the IT folks would need to address. One tip though, when their password does change, make sure they understand to open a BLANK pbix or BLANK excel file and then change the global source credentials from there and NOT a file that already has connections in it. Otherwise, opening a PBIX file with existing connections will try to login...automatically..thus the problem.
But still no answer from MS?
There is no an option to limit the number of attempts if the logon fails?
Due to the limitations that you have with your database, the only thing that I can think of is that when the User changes his password (A process that he has to go through), they also make a note that next time they log into their Power BI Desktop file they will have to go into the Data Source Settings and "Clear Permissions" for the SAP HANA data source.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |