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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
SK_KE
New Member

Scheduled refresh keeps failing

I'm trying to schedule refreshing of my published report in power BI , but have been getting the below error "The credentials provided for the Web source are invalid. The exception was raised by the IDbCommand interface." I suspect the error could be due to excel files making up the data set of the report - but which are in sharepoint (and not in the local disc). I used the source - Web, to upload the excel files into the power BI report. What could be causing the error and making the report fail to refresh, and how do I resolve this?

1 ACCEPTED SOLUTION
v-ssriganesh
Community Support
Community Support

Hi @SK_KE,

Thank you for reaching out to the Microsoft fabric community forum.

I appreciate the valuable insight shared by @andrewsommer. They are right when working with Excel files stored in SharePoint, it's best to use the SharePoint folder instead of the Web connector. This ensures proper authentication and seamless scheduled refreshes in Power BI Service.

To resolve the issue, please try the following steps:

  • Reconnect the Excel file using the SharePoint folder and authenticate with OAuth. Load the required Excel file, apply the necessary transformations, and re-publish the report to Power BI Service.
  • Go to Power BI Service >> Datasets >> Settings. Find your dataset and update the Data Source Credentials using OAuth authentication.
  • Enable scheduled refresh in Power BI Service and ensure it runs successfully. verify it runs successfully. Perform a manual refresh to ensure the issue is resolved.

If the error persists, please check the refresh history in Power BI Service under Dataset Settings and share any specific error messages you see.

If this helps then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.

View solution in original post

5 REPLIES 5
v-ssriganesh
Community Support
Community Support

Hi @SK_KE,

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.

 

v-ssriganesh
Community Support
Community Support

Hi @SK_KE,

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

Thank you.

v-ssriganesh
Community Support
Community Support

Hi @SK_KE,

Thank you for reaching out to the Microsoft fabric community forum.

I appreciate the valuable insight shared by @andrewsommer. They are right when working with Excel files stored in SharePoint, it's best to use the SharePoint folder instead of the Web connector. This ensures proper authentication and seamless scheduled refreshes in Power BI Service.

To resolve the issue, please try the following steps:

  • Reconnect the Excel file using the SharePoint folder and authenticate with OAuth. Load the required Excel file, apply the necessary transformations, and re-publish the report to Power BI Service.
  • Go to Power BI Service >> Datasets >> Settings. Find your dataset and update the Data Source Credentials using OAuth authentication.
  • Enable scheduled refresh in Power BI Service and ensure it runs successfully. verify it runs successfully. Perform a manual refresh to ensure the issue is resolved.

If the error persists, please check the refresh history in Power BI Service under Dataset Settings and share any specific error messages you see.

If this helps then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.

Hi @SK_KE,
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 other community members with similar problems can find a solution faster.
Thank you.

andrewsommer
Super User
Super User

We always ingest SharePoint files using the SharePoint folder connection and not the web source.  Then you just want an OAuth 2.0 Authentication method.  

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors