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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.