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

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

Reply
Anonymous
Not applicable

PowerBi auto refresh from SQL DB without userid and password

We have a PowerBI report with a auto refresh setup to fetch data from an Azure SQL DB. My question was whether there is any more secure way to to connect PowerBi Saas and my SQL DB without the use of userid and password? Is there a way to use Service principal/oAuth or something similar?

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

Not supported yet. These data source credentials are indispensable to access the data source.

Currently, Service principal are only allowed as an authentication method for Azure AD applications to access Power BI Service content and APIs.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

3 REPLIES 3
omnepresent
New Member

The gateway is the only way you'll be able to automatically refresh power bi reports when published to the server.

v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

Not supported yet. These data source credentials are indispensable to access the data source.

Currently, Service principal are only allowed as an authentication method for Azure AD applications to access Power BI Service content and APIs.

 

Best Regards,
Community Support Team _ Eason

ravi_ray_2022
Regular Visitor

In the upper-right corner of the Power BI user interface, select the settings gear icon and then select Settings. Switch to Datasets and select the dataset, such as AdventureWorksProducts, you want to examine. Select the Refresh history link to open the Refresh history dialog.

 

However, In Power BI, gateway is the only way you'll be able to automatically refresh power bi reports when published to the server.

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.