查询Sharepoint / One Drive for Business的Microsoft Graph API以显示对Unified Group Shares的访问权限
Hello Community,
Hello Community,
对于内部应用程序,我们需要查询Microsoft Graph API以获取用户有权访问的Unified Group Shares。
for an internal application we need to query Microsoft Graph API for Unified Group Shares a user have access to.
我找到了查询 获取https://graph.microsoft.com/v1.0/groups?$filter=groupTypes/any(c:c+eq+'Unified')但
它提供租户中的所有群组,无论是哪个用户执行它。我们需要过滤掉我们只返回用户真正属于/有权访问的那些。
I found the query GET https://graph.microsoft.com/v1.0/groups?$filter=groupTypes/any(c:c+eq+'Unified') but it delivers all groups in the tenant no matter which user performs it. We need to filter that we only get back the ones which a user really is member of/ has access to.
我唯一能找到的就是这个用户声音:
https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/suggestions/36066163-enable-filter-on-group-visibility
https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/suggestions/36066163-enable-filter-on-group-visibility
任何想法???
非常感谢。
亲切的问候,
Mario
Kind regards,
Mario
您无法启用
You cannot enable the
过滤器这是一个限制离开但
获取成员组应该返回特定于用户,组或目录的所有组成为其成员。但它没有发生。
filter on the group it’s a limitation but Get member groups supposed to Return all the groups that are specific to user, group, or directory is a member of. But its not happening.
希望这会有所帮助!
Hope this helps!
-------------------------- -------------------------------------------------- -----------------------------
---------------------------------------------------------------------------------------------------------
请不要忘记" mark
回复为答案 " 如果有帮助,也设置" 喜欢 "
这是我们保持博客的一个推动力 J
Please don't forget to "mark the replies as answers" if they helped, also set "like" it’s a boost for us to keep blogging J
点击 here 到
了解详情。访问专用的 社区 论坛 分享 , 探索 和 谈话 到
专家关于Microsoft Kaizala。
Click here to learn more. Visit the dedicated Community forum to share, explore and talk to experts about Microsoft Kaizala.