Thomas
Thomas

Reputation: 77

List of guest users via microsoft graph

I want to get a list of guest users with Microsoft Graph explorer. I've tried with

?$filter -eq usertype

but it seems usertype is not known.

May somebody can help me with this query?

Upvotes: 1

Views: 2826

Answers (1)

Joy Wang
Joy Wang

Reputation: 42163

Just use GET https://graph.microsoft.com/v1.0/users?&$filter=userType eq 'Guest' , it works fine on my side.

Note: You need the permission to list users first, refer to this link.

enter image description here

enter image description here

Upvotes: 6

Related Questions