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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
lopcio
Regular Visitor

How to connect to a Sharepoint folder shared with me?

Hello,

 

The owner of Sharepoint shared with me some location. In one of subfolders there are files, from which I need to combine data to one table. The link goes like:

 

https://[company_name]-my.sharepoint.com/:f:/r/personal/[user_name]_[domain]/Documents/[folder name]/[subfolder name]?csf=1&web=1&e=[some code]

 

How can I achieve this?

 

Best regards

Michal.

1 ACCEPTED SOLUTION
v-xiaoyan-msft
Community Support
Community Support

Hi @lopcio ,

 

Please do as the following steps:

1.Open up PowerBI Desktop and on the home ribbon click Get Data.  Highlight the SharePoint Folder and click Connect to continue.

2.After you click Connect, you will see a dialog box asking for the SharePoint folder location.In the URL window, you will need to add the SharePoint site we identified above.
It is important to note that PowerBI only needs the specific site name, not all of the site links. It only needs the part that is drawn as a horizontal line in the image below.

https://partner.onmicrosoft.com/sites/[Your Site Name]/SitePages/Home.aspx

 3.Clicking "OK" will bring up an authentication screen. You will need to enter the appropriate credentials to log in to the SharePoint site.

 

Also,you can refer to article below and see if it helps.

 Connecting to a SharePoint Folder in Power BI 

 

Hope it helps,


Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi, you probably need to get access to the sharepoint "site" instead (that means you should have Read access to the SharePoint site as well as the document library and any folders leading to the requested file, it won't work if you are only shared with one specific folder on sharepoint ).

 

You need to connect to the sharepoint site first (by clicking on the profile picture of the sharepoint site, the URL will be reduced to a "normal" length, WITHOUT any %f, %oo that kinda stuff), and then filter the folders.

maybe check out the video with specific instructions and tells you exactly what you need to do: https://www.youtube.com/watch?v=_1-HLO6y2jY&ab_channel=NickPowerBi 

lopcio
Regular Visitor

Hello,

 

thank you for your answers. Unfortunately, I have a problem with this, because link which I can generate is different.

 

Full link to the folder shared with me is like below:

https://[company name].sharepoint.com/personal/[user name]/_layouts/15/onedrive.aspx?csf=1&web=1&e=py3nia&xsdata=[a lot of code]

 

I've tried with option "SharePoint Folder" in Power BI with follwing links:

1. https://[company name].sharepoint.com/personal/[user name]/ - I get empty table

2. https://[company name].sharepoint.com/ - I get access to some graphic files of a few users, which isn't which I need

 

How to fix it?

1.png2.png

 

Best regards

Michal.

v-xiaoyan-msft
Community Support
Community Support

Hi @lopcio ,

 

Please do as the following steps:

1.Open up PowerBI Desktop and on the home ribbon click Get Data.  Highlight the SharePoint Folder and click Connect to continue.

2.After you click Connect, you will see a dialog box asking for the SharePoint folder location.In the URL window, you will need to add the SharePoint site we identified above.
It is important to note that PowerBI only needs the specific site name, not all of the site links. It only needs the part that is drawn as a horizontal line in the image below.

https://partner.onmicrosoft.com/sites/[Your Site Name]/SitePages/Home.aspx

 3.Clicking "OK" will bring up an authentication screen. You will need to enter the appropriate credentials to log in to the SharePoint site.

 

Also,you can refer to article below and see if it helps.

 Connecting to a SharePoint Folder in Power BI 

 

Hope it helps,


Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

They gave you the wrong link. Ask for a link without all the :f and :r stuff.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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