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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Database Credentials Missing When Opening File From Another User

When creating the report in desktop I connected to SQL Server and used database credentials and entered a username/password and was using import for the data connectivity mode. I then sent the report to a co-worker to review the format and data but when my co-worker opens the file and tries to refresh the data they get prompted to enter the database credentials again. 

 

Is there a way to embed the username/password in the .pbix file so that I can send the file to a user without having them re-enter the database credentials? 

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

Currently, Power BI Desktop can't store the credential for accessing data source when refreshing the dataset. So in this scenario, you have to grant the permission to the end users on SQL Server side.

 

Regards,

View solution in original post

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

Currently, Power BI Desktop can't store the credential for accessing data source when refreshing the dataset. So in this scenario, you have to grant the permission to the end users on SQL Server side.

 

Regards,

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors