Recently migrated hundreds of Windows shares to SharePoint Online. This forced us to modify any processes that used Power Query to read data from Windows to now read data from SharePoint. Most of the time this was easy to accomplish - however - there are some SharePoint sites that we are struggling with. Imagine if you created a new query to read files from a SharePoint folder. When building this via the Power Query GUI, the underlying formula used is SharePoint.Files(). While this works for sites with a few hundred files, performance drops dramatically/exponentially for sites with more than a few hundred files. Fortunately the function SharePoint.Contents() performs much better and is almost interchangeable with SharePoint.Files() - even the function's parameters are the same. So typically we use the GUI to build the initial query, then change SharePoint.Files() to SharePoint.Contents(). Problem is that for about 10% of the sites we get an authentication error when we switch to SharePoint.Contents(). We can't seem to get past the error. If we change it back to SharePoint.Files() it authenticates just fine - but performs poorly for large sites. Again, we make no changes to the parameters for these functions. Anyone else experience this behavior? Any guidance would be greatly appreciated.