Forum Discussion
Dataflow Accessing a Sharepoint Folder with an xlsx
I am creating a dataflow and I have a sharepoint folder with an xlsx in it (We made a Teams area)
I have copied the Sharepoint Link
https://testsite.sharepoint.com/sites/ExampleTeamsFoldername/Shared%20Documents/General
And I have attempted to use it in the data flow.
I have asked our admin about this and "it reads as though data sources in SharePoint Online locations don’t need to be added to the enterprise gateway…?" So we initially thought it didnt need a Gateway.
Attempting to go with this gets the following error
Sharepoint Request Failed. The remote Server returned an error (400) Bad request
So then I tried to use the Gateway
I dont think this is a data source on the Gateway. So before continuing, should this be a data source on the Gateway or and I doing this incorrectly?
Thanks in advance
- Anonymous6 years ago
Hi DebbieE,
I'd like to suggest you use an excel connector with an excel URL to get data on dataflow.
https://testsite.sharepoint.com/sites/ExampleTeamsFoldername/Shared%20Documents/General/test.xlsx
Reference link:
Use OneDrive for Business links in Power BI Desktop
Regards,Xiaoxin Sheng
I also got around it by doing it in Desktop.
Then in Service creating a blank query and pasting the M Code into this query. Then it worked
5 Replies
- AnonymousNot applicable
You shouldn't need to use a gateway if you're using SharePoint online... If your company is using SharePoint server on-prem, then it will need to go through the gateway.
I have several dataflows connecting to sharepoint lists and folders, and have received the error a couple of times, I usually just need to edit the credentials and make sure that I'm signed in.Hope that helps!
Kim
- DebbieE
Community Champion
my credentials are fine.
When I log in Via Desktop with the Sharepoint Folder I get no issues.
When I do the same thing in Service I get the error
- AnonymousNot applicable
Hi DebbieE,
I'd like to suggest you use an excel connector with an excel URL to get data on dataflow.
https://testsite.sharepoint.com/sites/ExampleTeamsFoldername/Shared%20Documents/General/test.xlsx
Reference link:
Use OneDrive for Business links in Power BI Desktop
Regards,Xiaoxin Sheng