Forum Discussion
SQL Credentials
Hello all!
On Power BI Desktop, I built a report where the data source is a MS-SQL Server.
Clearly, the credentials are stored.
What I would like to understand is where the credentials are stored.
Are they stored in the corresponding PBIX file?
Are they stored in my installation of Power BI Desktop?
If I share the PBIX with another Power BI Desktop user, will the credentials be already saved in the file? Or will they need to be entered again?
Many thanks in advance.
The credentials are stored on your local PC and are not shared when you share the PBIX file. If a new user tries to refresh the data, they would get prompted to enter credentials. To share your report and have it auto-refresh, you would need to publish it, set up a Gateway to store the credentials securely, and set up scheduled refresh.
Pat
3 Replies
- mahoneypat
Microsoft Employee
The credentials are stored on your local PC and are not shared when you share the PBIX file. If a new user tries to refresh the data, they would get prompted to enter credentials. To share your report and have it auto-refresh, you would need to publish it, set up a Gateway to store the credentials securely, and set up scheduled refresh.
Pat
- EVEAdmin
Post Patron
thank you mahoneypat , appreciated.
I am running Power BI Service too but needed clarification on this specific subject.Thank you again.
- WiliestAlexNew Member
Go to Files>Options and Settings>Data Sourcing Settings and clear the credentials. You can edit your credentials there as well.