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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
powerbiexpert22
Impactful Individual
Impactful Individual

refresh failed - teams channel as source

i have created power bi dashboard which tracks pre sales activity in my company, this dashboard is using file uploaded on teams channel as data source. currently i am using my company (OAuth2) credentials to refresh the dashboard. if i leave company then dashboard would not be able to refresh. how can i make data credentials generic ( independent of invidiviual login) so that dashboard refresh is not impacted by user leaving the company

3 REPLIES 3
v-kpoloju-msft
Community Support
Community Support

Hi @powerbiexpert22,

Thank you for reaching out to the Microsoft fabric community forum. Also, thanks @m4ni@wardy912, for those insights on this thread. Along with the super user’s solution this is an alternative to using personal credentials, you can store the source file (e.g., Excel or CSV) in a OneDrive for Business folder or SharePoint document library owned by a shared or service-managed account.

Then, in Power BI Desktop, connect to the file using the OneDrive Business or SharePoint Folder connector with a stable file path. After publishing the report, configure the scheduled refresh in Power BI Service using this account's credentials.

This ensures that the refresh remains unaffected if an individual user leaves. Make sure the account has the required permissions and a Power BI Pro license (or use a Premium workspace). This method provides a reliable, organization-owned data source.

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

Thank you for using Microsoft Community Forum.

m4ni
Helper I
Helper I

Hi @powerbiexpert22 

In such cases its is best practice to use an account with elevated permissions but not linked to a user.  Usually admin accounts or service principles can be created for this purpose.  Your IT division should be able to create a dedicated account under Entra ID (assuming you're using Azure identity) which has the ability to refresh and its not going to be removed when someone leaves.

The account usually has a workspace admin level permissions.

HTH.

wardy912
Advocate I
Advocate I

The easiest solution would be to create a service account.

 

  • Create a new user account in Microsoft 365 (e.g., powerbi.service@yourcompany.com).
  • Ensure password policies in your organisation do not apply to the account.
  • Assign it the necessary permissions to access the Teams file or SharePoint folder where your data is stored.
  • Grant it a Power BI Pro license (or use Power BI Premium capacity if available).

Use this account to:

 

  • Connect to the data source in Power BI Desktop.
  • Publish the report to the Power BI Service.
  • Configure scheduled refresh using this account’s credentials.

This ensures that the refresh process is not tied to any individual employee

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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