cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EricShupp
New Member

How can I automatically update a Power BI dataset from CSV files on OneDrive for business?

I have several CSV files that are in a folder on OneDrive for business and I want to automatically trigger a Power BI dataset refresh when the files are updated each week.  When I try to do a refresh on the PBI service I get:

 

Data source error: Scheduled refresh is disabled because at least one data source is missing credentials. To start the refresh again, go to this dataset's settings page and enter credentials for all data sources. Then reactivate scheduled refresh.
Cluster URI: WABI-US-EAST-A-PRIMARY-redirect.analysis.windows.net
Activity ID: cf5b15f9-a555-4378-8044-e2be37c33da2
Request ID: e558dd5c-9e7d-3a79-c0b9-cbd9bd2f44b5
Time: 2022-02-16 20:42:40Z

 

When I go to the dataset settings it tells me "Use an On-premises or VNet data gateway" and the Data Source Credintials option is disabled.

 

Any suggestions for how to do this or what I am missing or doing wrong?

1 REPLY 1
GilbertQ
Super User
Super User

Hi @EricShupp 

 

It would appear that in your data source you are not pointing to the SharePoint/OneDrive online site? This is why it is asking for the Gateway credentials?

 

Here are details on how to do this: Loading Excel Files from Sharepoint - (powerbi.tips)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors