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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors