Reputation: 77
I want to get a list of guest users with Microsoft Graph explorer. I've tried with
Microsoft Graph explorer
?$filter -eq usertype
but it seems usertype is not known.
usertype
May somebody can help me with this query?
Upvotes: 1
Views: 2826
Reputation: 42163
Just use GET https://graph.microsoft.com/v1.0/users?&$filter=userType eq 'Guest' , it works fine on my side.
GET https://graph.microsoft.com/v1.0/users?&$filter=userType eq 'Guest'
Note: You need the permission to list users first, refer to this link.
Upvotes: 6