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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
eduardosilvin3
Helper II
Helper II

Automatic refresh with online Excel

Hello guys, I have a report with several sources and one is an Excel in a shared folder, I got the data as Web source and workd correctly. But, when I upload the report to PBI Service, it requires the credentials of all the sources for the automated refresh.

I tried all the options (it is a protected file by the company), I tried the options and nothing is working. Any idea?

 

Cheers!

eduardosilvin3_0-1724124159663.png

 

2 ACCEPTED SOLUTIONS
Shravan133
Super User
Super User

Here are some things you can try:

  1. Correct Data Source Credentials in Power BI Service:

    • Go to the dataset settings in Power BI Service.
    • Under "Data source credentials," locate the Web source corresponding to your Excel file.
    • Choose "Edit credentials" and select the appropriate authentication method (Organizational, OAuth2, etc.).
    • Make sure the credentials match what’s required by your company’s protected file.
  2. Data Gateway Configuration:

    • If your Excel file resides on a local network or is protected, you may need to use an On-premises Data Gateway.
    • Install and configure the Data Gateway to access the shared folder and file, ensuring the gateway has access to the file path or Web location where the file is hosted.
  3. Workaround: Using OneDrive or SharePoint:

    • If you’re accessing the file from a shared folder, consider moving the Excel file to a SharePoint Online or OneDrive for Business folder. These services work seamlessly with Power BI for both Web and file connections.
    • Reconnect your Power BI report to the file in SharePoint/OneDrive using the "Web" or "SharePoint Folder" connector, and the refresh should work without complex credential issues.
  4. Ensure Web Access Permissions:

    • Make sure the user account used for the automated refresh has the necessary permissions to access the file through the Web source. You may need to check with your IT team to ensure the correct setup.

View solution in original post

eduardosilvin3
Helper II
Helper II

Steps from Shravan133 are correct but no for my case.

My mistake, in case any one have it, I clicked "Share" and took that URL, but that is not correct, the correct way is: 

 

Go to the Excel in desktop > file> info > copy path > use it as source in PBI Desktop (delete the last part of the URL, 'web1...' from the end until the extension of the file, keeping the file extension as the last part of the URL) --- in PBI Service> seetings of the dataset > edit credentials > after add the gateway use the OAuth2 > sign in in the external Window > connenct

View solution in original post

2 REPLIES 2
eduardosilvin3
Helper II
Helper II

Steps from Shravan133 are correct but no for my case.

My mistake, in case any one have it, I clicked "Share" and took that URL, but that is not correct, the correct way is: 

 

Go to the Excel in desktop > file> info > copy path > use it as source in PBI Desktop (delete the last part of the URL, 'web1...' from the end until the extension of the file, keeping the file extension as the last part of the URL) --- in PBI Service> seetings of the dataset > edit credentials > after add the gateway use the OAuth2 > sign in in the external Window > connenct

Shravan133
Super User
Super User

Here are some things you can try:

  1. Correct Data Source Credentials in Power BI Service:

    • Go to the dataset settings in Power BI Service.
    • Under "Data source credentials," locate the Web source corresponding to your Excel file.
    • Choose "Edit credentials" and select the appropriate authentication method (Organizational, OAuth2, etc.).
    • Make sure the credentials match what’s required by your company’s protected file.
  2. Data Gateway Configuration:

    • If your Excel file resides on a local network or is protected, you may need to use an On-premises Data Gateway.
    • Install and configure the Data Gateway to access the shared folder and file, ensuring the gateway has access to the file path or Web location where the file is hosted.
  3. Workaround: Using OneDrive or SharePoint:

    • If you’re accessing the file from a shared folder, consider moving the Excel file to a SharePoint Online or OneDrive for Business folder. These services work seamlessly with Power BI for both Web and file connections.
    • Reconnect your Power BI report to the file in SharePoint/OneDrive using the "Web" or "SharePoint Folder" connector, and the refresh should work without complex credential issues.
  4. Ensure Web Access Permissions:

    • Make sure the user account used for the automated refresh has the necessary permissions to access the file through the Web source. You may need to check with your IT team to ensure the correct setup.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Kudoed Authors