cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EVEAdmin
Helper V
Helper V

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.

1 ACCEPTED SOLUTION
mahoneypat
Super User
Super User

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

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
WiliestAlex
New Member

Go to Files>Options and Settings>Data Sourcing Settings and clear the credentials. You can edit your credentials there as well. 

mahoneypat
Super User
Super User

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

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

thank you @mahoneypat , appreciated. 
I am running Power BI Service too but needed clarification on this specific subject.

Thank you again.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.