
Thanks for reaching out to Microsoft Q&A forum support
Based on your description, I understand that you're attempting to access the "User Information List" in your SharePoint site using Microsoft Graph API. While the endpoint works on a test site, it fails on your current site with a "list not found" error, despite being able to retrieve user data using the SharePoint REST API (GetUserById
).
This issue typically arises because the "User Information List" is a hidden system list in SharePoint, and its internal name may vary across sites. Microsoft Graph API requires the exact internal name or list ID to access a list, and using the display name directly may not resolve correctly if the name differs or the list is hidden. Unlike the SharePoint REST API, which can access system lists more directly, Graph API enforces stricter access patterns and naming conventions.
To work around this, you can first enumerate all lists in your site using the endpoint:
GET https://graph.microsoft.com/v1.0/sites/SiteID/lists?$filter=displayName
Or
GET https://graph.microsoft.com/v1.0/sites/SiteID/lists
This will return metadata for all lists, including hidden ones.
Hope my answer will help you
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.