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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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

1 ACCEPTED SOLUTION

Hi @powerbiexpert22,

I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

View solution in original post

6 REPLIES 6
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.

Hi @powerbiexpert22,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

Hi @powerbiexpert22,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

Hi @powerbiexpert22,

I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

m4ni
Advocate I
Advocate 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
Impactful Individual
Impactful Individual

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors