/v1.0/sites/{site-id}/lists missing items

Mauricio 0 Reputation points
2023-02-22T21:44:41.09+00:00

I have a site with the following Lists:
User's image

But when I try to get them programatically using the Graph API I get only two of them: Documents and Test Files. And a third one not present in the above screenshot, called: Web Template Extensions.

/v1.0/sites/{site-id}/lists
User's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,308 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 6,076 Reputation points
    2023-02-22T22:51:33.6633333+00:00

    Hi @Mauricio

    To get all these lists, use GET https://graph.microsoft.com/beta/sites/{site-id}/lists?$select=system Graph API. Lists with the system facet are hidden by default. To list them, include system in your $select statement. Please refer to below sample screenshot.
    system

    Resource type List.

    Please refer to this documentation for more details.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.