Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

 





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

 





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


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

Thank you again.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.