r/sharepoint • u/Mr_Westerfield • 50m ago
SharePoint Online Is there a way to have a SharePoint list update daily with data from a public website?
We’re making a PowerBI report to compare the data on a list on our SharePoint against the tables on another website. It was very easy to scrape the website data, and when I plugged the Python script into PowerBI as a data source it worked perfectly. Unfortunately, when we tried to publish it onto our workspace we wouldn’t set a refresh schedule for the report because of an issue setting up a gateway for the Python query. And since that defeats the purpose we’re back to square one.
So what we’d like to do is first put the website data onto a list on our SharePoint list, and then have it pulled into PowerBI from there. Presumably we could have the list updated daily with a scheduled flow in Power Automate. I’ve looked into how to actually do that, and while there seem to be a few ways I always run into a roadblock. Especially since I’m just doing it in a fairly standard version of SharePoint/Power Automate.
For example:
- Ideally I’d like to use the Python script, since it’s straightforward. Power Automate Desktop can supposedly make a runbook to do that, but not in the cloud
- Azure Automation could use the Python script to make a runbook in the cloud, but I’m pretty sure I’d need to have a license for that, and even if I did I’d need to use an HTTP function in Power Automate to call it up, and HTTP isn’t available in the standard version
- With Power Automate you can use HTTP to get the website code and then use ParseJSON to pull out the relevant data. But, again, HTTP isn’t available on the standard version, and if I used ParseJSON to get the data would be much more complicated than just using pandas in Python
I’m going to keep looking into it, but if someone could enlighten me on how to do this I’d appreciate it. I’m hoping there’s a simple method.
Alternatively, if someone knows how to get the Dashboard to refresh with the Python query I’d appreciate that as well. We’re a little confused why there would even be a gateway problem since the website we’re getting the data from is public.