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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.