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
CoboleiroBr
Helper I
Helper I

Import Data from an Excel sheet in SharePoint

Hello guys!

 

Could you help me connecting to a spreadsheet in SharePoint Online?

 

Here are the steps I'm following:

1 - Get data from web

2 - Paste the URL as follows:

     https://XXXXX.sharepoint.com/sites/XXXXX/_layouts/15/WopiFrame.aspx?sourcedoc=%7B00943100-b4ff-484a-...

3 - I got the below error:

     "Unable to connect: We encountered an error while trying to connect. Details: URL is invalid."

 

Erro.png

 

- In the first time trying to connect, it was asked to start the session with SharePoint, and it was ok;

- I have access to Sharepoint, both published site and spreadsheet

- If I try to open this URL in a new tab in Browser, it opens normally

- I tried to remove "&action=default" from URL, but I got the same problem

- I also tried to connect using bothlinks "to view" and "to edit", provided by SharePoint when you click "..." at the right side of the the file

 

What I'm doing wrong?

 

Thanks!

2 ACCEPTED SOLUTIONS
sfibaek
Regular Visitor

I just faced the exact same problem. Solved it by getting the link to the Excel file on Sharepoint (right click -> get a link). You then need to manipulate the link a bit:

 

From:

 https://abcdef.sharepoint.com/sites/.../Shared%20Documents/Miscellaneous/dataset.xlsx?d=w81492e34112...

 

To:

https://abcdef.sharepoint.com/sites/.../Shared Documents/Miscellaneous/

 

Then get data -> Excel -> past the link above -> select the file.

 

/Sune

View solution in original post

I can't connect as you explained, in the folder, then get data -> Excel. 

 

BUT after sucessive attempts, it worked changing the link as you described, like we are used to do in Windows Explorer, and the filename in the end, like that:

 

https://XXXXX.sharepoint.com/sites/XXXXX/Documentos Compartilhados/Book Gestão/File.xls

 

Thanks @sfibaek !

 

 

View solution in original post

2 REPLIES 2
sfibaek
Regular Visitor

I just faced the exact same problem. Solved it by getting the link to the Excel file on Sharepoint (right click -> get a link). You then need to manipulate the link a bit:

 

From:

 https://abcdef.sharepoint.com/sites/.../Shared%20Documents/Miscellaneous/dataset.xlsx?d=w81492e34112...

 

To:

https://abcdef.sharepoint.com/sites/.../Shared Documents/Miscellaneous/

 

Then get data -> Excel -> past the link above -> select the file.

 

/Sune

I can't connect as you explained, in the folder, then get data -> Excel. 

 

BUT after sucessive attempts, it worked changing the link as you described, like we are used to do in Windows Explorer, and the filename in the end, like that:

 

https://XXXXX.sharepoint.com/sites/XXXXX/Documentos Compartilhados/Book Gestão/File.xls

 

Thanks @sfibaek !

 

 

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