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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
RBFintech
New Member

Data Source Authentication best practice

Hi,

We have a basic setup with Azure SQL Server, office 365 sharepoint etc.  Nothing on Prem.

 

When I connect to the data sources in Power BI Desktop, I am using my Azure Login to authenticate.

 

When I publish the report, I am assuming the data refresh is still using my login for authentication.  This seems a bad practice...

 

I now have a scenario where I need to connect to an Excel spreadsheet stored on the organisation office 365 sharepoint site.

 

I don't necessarily want or need permissions to the Excel spreadsheet, by the Power BI Service would need to be able to refresh the data.

 

What should we be doing here?  there seems to be very little on the internet about authentication.  Everything seems to assume you are using your own login.  Surely this is bad, because if I leave, the refreshes will fail?

 

Should we be changing the Data Source credentials using a generic login.

 

Please advise a best practice

 

 

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi @RBFintech 

A service account with a license is needed. Only service account is allowed to connect to the source to refresh the semantic models or Dataflows

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

1 REPLY 1
aj1973
Community Champion
Community Champion

Hi @RBFintech 

A service account with a license is needed. Only service account is allowed to connect to the source to refresh the semantic models or Dataflows

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.