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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
gancw1
Resolver I
Resolver I

Possible to load Sharepoint list using Sharepoint.Contents( ) ?

I know Shrepoint.Tables( ) connector is usually used to load a Sharepoint list.

However, is it possible to load a list using Sharepoint.Contents( ) connector ?
When I navigate to the desired list using Sharepoin.Contents( ), I get this :

gancw1_1-1723434531297.png

 

which only has the attachments and the forms but not the list content.

Any idea why ?

Where is the list content ?

 

1 ACCEPTED SOLUTION
johnsonmicks
New Member

No, you cannot directly load a SharePoint list using SharePoint.Contents() in Power Query. SharePoint.Contents() is used to access the contents of a SharePoint site, such as document libraries and folders, but to specifically access a SharePoint list, you should use SharePoint.Lists() instead. This function allows you to retrieve data from a specific SharePoint list, making it more suitable for working with list data directly.

View solution in original post

4 REPLIES 4
johnsonmicks
New Member

No, you cannot directly load a SharePoint list using SharePoint.Contents() in Power Query. SharePoint.Contents() is used to access the contents of a SharePoint site, such as document libraries and folders, but to specifically access a SharePoint list, you should use SharePoint.Lists() instead. This function allows you to retrieve data from a specific SharePoint list, making it more suitable for working with list data directly.

Noted and thanks !

I believe that should be SharePoint.Tables() and not SharePoint.Lists()

RossEdwards
Solution Sage
Solution Sage

SharePoint doesn't store files quite how you expect.  It necessary for the content connector to differ from the list connector due to this backend distinction.

 

The SharePoint front end does a great job of fooling you into thinking that that structure is what the backend looks like.  Its not.  Its much more flat.

Noted and thanks 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.