you can query https://graph.microsoft.com/v1.0/sites/{site-id}/lists?$select=system,name,id iterate through the results, and find the list with the name "users" (unfortunately filter doesn't seem to be supported on that endpoint for this field).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I can't retrieve "User Information List" from the site, neither using the root site nor the current site.
I can see the list using the Browser but I can't retrieve it through the code. I'm using this URLs:
https://{organization}.sharepoint.com/_catalogs/users/detail.aspx
https://{organization}.sharepoint.com/_catalogs/users/simple.aspx
Any thoughts?
you can query
https://graph.microsoft.com/v1.0/sites/{site-id}/lists?$select=system,name,id
iterate through the results, and find the list with the name "users" (unfortunately filter doesn't seem to be supported on that endpoint for this field).