通过Microsoft图形的来宾用户列表

时间:2018-09-04 06:28:39

标签: azure-active-directory microsoft-graph

我想使用Microsoft Graph explorer获取来宾用户列表。我已经尝试过

?$filter -eq usertype

但是似乎usertype未知。

有人可以帮我这个查询吗?

1 个答案:

答案 0 :(得分:5)

只需使用GET https://graph.microsoft.com/v1.0/users?&$filter=userType eq 'Guest',它对我来说就很好了。

注意:您需要首先列出用户的权限,请参阅此link

enter image description here

enter image description here