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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
webportal
Impactful Individual
Impactful Individual

Error importing files from Sharepoint folder into data flow

Hello,

 

I'm trying to build a data flow to import and combine all the files inside a directory in a Sharepoint.

 

I'm using "Import from Sharepoint folder" button, and paste the following URL:

 

https://xxxx.sharepoint.com/sites/LOL/Documentos%20Partilhados/MyFolder/

 

Although this is returning the error:

 

Ocorreu uma exceção: DataSource.Error: Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Falha do pedido: 
Versão de OData: 3 e 4, Erro: The remote server returned an error: (404) Not Found. (Not Found)
Versão de OData: 4, Erro: The remote server returned an error: (404) Not Found. (Not Found)
Versão de OData: 3, Erro: The remote server returned an error: (404) Not Found. (Not Found). (ID de Sessão: 2af3d25e-)
1 ACCEPTED SOLUTION
mahimabedi
Responsive Resident
Responsive Resident

It could be because yopu are trying the fulll folder path. Try just the site root i.e 

https://xxxx.sharepoint.com/sites/LOL

This blog explains the steps to get multiple files from a sharepoint folder.

https://powerbi.microsoft.com/en-us/blog/combining-excel-files-hosted-on-a-sharepoint-folder/

 

PS: Please mark this post as a "solution"  if this helps solving the issue and/or hit the "thumbs-up" button if you found this insighful. Thanks.

View solution in original post

2 REPLIES 2
mahimabedi
Responsive Resident
Responsive Resident

It could be because yopu are trying the fulll folder path. Try just the site root i.e 

https://xxxx.sharepoint.com/sites/LOL

This blog explains the steps to get multiple files from a sharepoint folder.

https://powerbi.microsoft.com/en-us/blog/combining-excel-files-hosted-on-a-sharepoint-folder/

 

PS: Please mark this post as a "solution"  if this helps solving the issue and/or hit the "thumbs-up" button if you found this insighful. Thanks.

@mahimabedi thank you so much for helping!

 

I've managed to combine the files stored in SP folder, the only thing is: if the files are stored in a OneDrive for business folder what URL should be used? 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors