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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
obesli
Frequent Visitor

Excel file schedule refresh problem

I have an excel file on sharepoint to use in reports. When I want to scheduling I got this type of error. What can I do for this error?

 

 

 

Capture.JPG

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Is your connection string using a mapped drive letter (e.g. W:\MyFile.xlsx)?

 

If so this won't work, you'll need to use a UNC path (e.g. \\MyServer\MyFile.xlsx).

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Is your connection string using a mapped drive letter (e.g. W:\MyFile.xlsx)?

 

If so this won't work, you'll need to use a UNC path (e.g. \\MyServer\MyFile.xlsx).

Your proposal works well, dataconnection section test connections are all ok. But when I want to refresh the data in the scheduled refresh section then I got this error. 

 

Do you have any idea about this?

 

"Credentials are required to connect to the SharePoint source. (Source at http://intranet.). The exception was raised by the IDbCommand interface."

Anonymous
Not applicable

Glad you got over the first issue.

 

The error you're now seeing looks like a permissions issue. Can you confirm the credentials you are using to read the Excel file have the correct permissions assigned?

Actually I tried a lot of time for refreshing, but everytime I got this error. My report uses bot the excel file and sharepoint lists. The error message is related to the sharepoint lists. Sometimes I got the same error for the excel file. 

 

The excel file have no login need to connect, but authentication for the file folder is given in the authentication part as Windows account. 

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.