
Probably, the following api may help. Have a try and let's know
https://graph.microsoft.com/v1.0/sites/{siteid}/lists/User Information List/items?expand=fields
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to get users of my won SharePoint site, I have the HTTP resuqste that I modified:
GET https://graph.microsoft.com/v1.0/sites/{{SiteID}}/users
But I have an error with message:
Resource not found for the segment 'users'
Did anyone try to get users of a specific SharePoint site ?
Probably, the following api may help. Have a try and let's know
https://graph.microsoft.com/v1.0/sites/{siteid}/lists/User Information List/items?expand=fields
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
Unfortunately, it doesn't work. I think there is many permissions that I don't have.
I tried to read the official documentation about "...User Information List/items?expand=fields", I don't find any information about this?