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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ogureisuo
Frequent Visitor

Service Principal or Microsoft Account in refreshing Power BI dataset

I would like to streamline the dataset refresh process without relying on my personal account. The need to periodically update my password and token results in failures when refreshing my Power BI. My query is, what approach is preferable: utilizing a service account or simply using a Microsoft account?

 

 

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

Hi @ogureisuo 

 

To streamline the dataset refresh process in Power BI without relying on your personal account, you could consider the following method.

 

Using a Service Account:

  • Service accounts can be set up to handle scheduled refreshes in Power BI, thus avoiding the need to update personal credentials regularly.
  • A service account can be created via Azure AD as an app registration. After registering the app, you will need to gather the App ID, Directory ID, and create a secret key.
  • The service account should be granted appropriate permissions to access the required data sources, like SharePoint.
  • In Power BI, you would configure the dataset refresh to use the service account details. This setup allows for automatic refreshes in the Power BI service.

For more detailed instructions and considerations, you might want to refer to the Power BI and Azure AD documentation or community forums for specific guidance on setting up and using a service account for Power BI dataset refreshes​​​​.

 

Dataset refresh with service account - Microsoft Fabric Community

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jialongy-msft
Community Support
Community Support

Hi @ogureisuo 

 

To streamline the dataset refresh process in Power BI without relying on your personal account, you could consider the following method.

 

Using a Service Account:

  • Service accounts can be set up to handle scheduled refreshes in Power BI, thus avoiding the need to update personal credentials regularly.
  • A service account can be created via Azure AD as an app registration. After registering the app, you will need to gather the App ID, Directory ID, and create a secret key.
  • The service account should be granted appropriate permissions to access the required data sources, like SharePoint.
  • In Power BI, you would configure the dataset refresh to use the service account details. This setup allows for automatic refreshes in the Power BI service.

For more detailed instructions and considerations, you might want to refer to the Power BI and Azure AD documentation or community forums for specific guidance on setting up and using a service account for Power BI dataset refreshes​​​​.

 

Dataset refresh with service account - Microsoft Fabric Community

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

aj1973
Community Champion
Community Champion

Hi @ogureisuo 

Using a service account is better. Think of it as if you have to go on vaccation or leave the compagny....

 

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.