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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Miguel_Rojo
Helper II
Helper II

Sharepoint Folder Connection – Access Required

Hi community,

I’d like to rise a general question regarding the access required to successfully connect to a SharePoint folder. Here the details:

 

Scenario:

  1. I have edition access to specific excel files on a SharePoint folder of other team.
    • I can connect via “Web” method to those single files, using the URL.
  2. But when I try to stablish a connection in Power Bi to the SharePoint folder that contains those files using the CONTENT() formula to drive through the fodlers path, I’ve got a permission error (see screenshots at the end of email).

 

The questions that I have are:

  1. What kind of access I need to have (to the other team's sharepoint), in order to make a successful connection to that specific SharePint folder? (remember that I want to import in one single table, the content of all .xlsx files on it)

 

  1. Is there some kind of access that allows me to connect and import all the files within that SharePoint folder, without needing access to the entire SharePoint site for that department? (Ideally, I'd have access to only a specific folder, for confidentiality reasons.)

 

SharePoint_Connetion_1.png

SharePoint_Connetion_2.png

SharePoint_Connetion_3.png

 

hope you can orient me,

 

Thanks,

 

 

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

Hi @Miguel_Rojo,

Thank you for reaching out to the Microsoft fabric community forum.

 

After reviewing the details you provided, I have identified few workarounds that may help resolve the issue. Please follow these steps:

The issue occurs because accessing a SharePoint folder needs at least "Read" permission for the folder itself, not just the files. The SharePoint Web.Contents() method works for direct file connections but doesn't support folder level queries like SharePoint.Contents() without folder access.

To connect to the SharePoint folder in Power BI, you need at least "Read" access at the folder level. Your current permissions, which allow you to edit individual files, are not sufficient because Power BI requires browsing permissions at the folder level to execute queries.

vkpolojumsft_0-1742288784803.png

 

For more information please go through the below link :
Understanding permission levels in SharePoint - SharePoint in Microsoft 365 | Microsoft Learn

 

Please request at least "Read" permission on the folder from the SharePoint admin of the other team. If possible, ask for Can View or Can Edit permissions on the specific folder. To check and request folder access in SharePoint:

 

  • Go to the SharePoint folder. Click on "..." More options > Manage access.
  • Check if your account has "Read" or higher permissions. If not, request the SharePoint admin to grant at least "Read" access.

If the other team is concerned about confidentiality, they can grant access to only the specific folder with the required files.

Steps for SharePoint Admin to Grant Folder-Level Access:

 

  • Go to the SharePoint Document Library, right-click the folder > Click Manage Access. Under Direct Access, click "Grant Access".
  • Enter your email address and set the permission level to either Can View or Can Edit. Click Send. This way, you only get access to the specific folder, not the entire site.

Once you have at least "Read" access to the folder, you can connect Power BI to the SharePoint folder and import all Excel files at once.

Steps to Connect Power BI to SharePoint Folder:

  • Open Power BI Desktop. Click Get Data > Select SharePoint Folder. Enter the SharePoint site URL (not the folder URL).
  • Choose Microsoft Account authentication and sign in with your credentials. Click Connect and filter the data to include only .xlsx files. Use Power Query Editor to combine and transform files as needed.

vkpolojumsft_1-1742288852774.png

 

For more information kindly refer to the below link:
Access Denied error when accessing a shared folder - SharePoint | Microsoft Learn
Power Query SharePoint folder connector - Power Query | Microsoft Learn

I hope this could resolve your issue, if you need any further assistance, feel free to reach out.
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you for using Microsoft Community Forum.




View solution in original post

2 REPLIES 2
v-kpoloju-msft
Community Support
Community Support

Hi @Miguel_Rojo,

Thank you for reaching out to the Microsoft fabric community forum.

 

After reviewing the details you provided, I have identified few workarounds that may help resolve the issue. Please follow these steps:

The issue occurs because accessing a SharePoint folder needs at least "Read" permission for the folder itself, not just the files. The SharePoint Web.Contents() method works for direct file connections but doesn't support folder level queries like SharePoint.Contents() without folder access.

To connect to the SharePoint folder in Power BI, you need at least "Read" access at the folder level. Your current permissions, which allow you to edit individual files, are not sufficient because Power BI requires browsing permissions at the folder level to execute queries.

vkpolojumsft_0-1742288784803.png

 

For more information please go through the below link :
Understanding permission levels in SharePoint - SharePoint in Microsoft 365 | Microsoft Learn

 

Please request at least "Read" permission on the folder from the SharePoint admin of the other team. If possible, ask for Can View or Can Edit permissions on the specific folder. To check and request folder access in SharePoint:

 

  • Go to the SharePoint folder. Click on "..." More options > Manage access.
  • Check if your account has "Read" or higher permissions. If not, request the SharePoint admin to grant at least "Read" access.

If the other team is concerned about confidentiality, they can grant access to only the specific folder with the required files.

Steps for SharePoint Admin to Grant Folder-Level Access:

 

  • Go to the SharePoint Document Library, right-click the folder > Click Manage Access. Under Direct Access, click "Grant Access".
  • Enter your email address and set the permission level to either Can View or Can Edit. Click Send. This way, you only get access to the specific folder, not the entire site.

Once you have at least "Read" access to the folder, you can connect Power BI to the SharePoint folder and import all Excel files at once.

Steps to Connect Power BI to SharePoint Folder:

  • Open Power BI Desktop. Click Get Data > Select SharePoint Folder. Enter the SharePoint site URL (not the folder URL).
  • Choose Microsoft Account authentication and sign in with your credentials. Click Connect and filter the data to include only .xlsx files. Use Power Query Editor to combine and transform files as needed.

vkpolojumsft_1-1742288852774.png

 

For more information kindly refer to the below link:
Access Denied error when accessing a shared folder - SharePoint | Microsoft Learn
Power Query SharePoint folder connector - Power Query | Microsoft Learn

I hope this could resolve your issue, if you need any further assistance, feel free to reach out.
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you for using Microsoft Community Forum.




Hi @Miguel_Rojo,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors