标签: azure-active-directory microsoft-graph
我想使用Microsoft Graph explorer获取来宾用户列表。我已经尝试过
Microsoft Graph explorer
?$filter -eq usertype
但是似乎usertype未知。
usertype
有人可以帮我这个查询吗?
答案 0 :(得分:5)
只需使用GET https://graph.microsoft.com/v1.0/users?&$filter=userType eq 'Guest',它对我来说就很好了。
GET https://graph.microsoft.com/v1.0/users?&$filter=userType eq 'Guest'
注意:您需要首先列出用户的权限,请参阅此link。