Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
One of the datasources in my desktop report is using excel file from a shared location which I have access to. If I want to store some common account credentials to access that excel file, I cannot edit permissions for this excel file from the datasource settings. I am able to edit permission for all other datsources like sql, sharepoint. Is there a way to store credentials in pbix file for accessing the excel file from that shared path?
Solved! Go to Solution.
Hi @prasa,
Yes, when using SQL Server datasource, Power BI desktop will ask for a credential. However, it is not sotred in pbix file. The credential for the data source are stored on the machine which have the .pbix created C:\Users\<user name>\AppData\Local\Microsoft\Power BI Desktop\User.zip.
So yes. It is the case with all datasource not just Excel.
Reference: https://community.powerbi.com/t5/Desktop/Query-Editor-requires-credentials/td-p/164515
Thanks,
Xi Jin.
Is it the case with any datasource or just excel? I see an option to input database credentials for sql datasource. Will it not be saved in the file?
Hi @prasa,
Yes, when using SQL Server datasource, Power BI desktop will ask for a credential. However, it is not sotred in pbix file. The credential for the data source are stored on the machine which have the .pbix created C:\Users\<user name>\AppData\Local\Microsoft\Power BI Desktop\User.zip.
So yes. It is the case with all datasource not just Excel.
Reference: https://community.powerbi.com/t5/Desktop/Query-Editor-requires-credentials/td-p/164515
Thanks,
Xi Jin.
I need to update the credentials, however, I can only find The credential for the data source are stored on the machine which have the .pbix created C:\Users\<user name>\AppData\Local\Microsoft\Power BI Desktop\,
the "User.zip" folder is not found. @v-xjiin-msft
Okay got it. Thank you.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |