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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.