Azure active directory 如何使用ms graph api仅列出AAD中的安全组?
根据在线文档,AAD分为四个组:Office365、安全、启用电子邮件的安全和分发 我使用以下内容列出组:Azure active directory 如何使用ms graph api仅列出AAD中的安全组?,azure-active-directory,microsoft-graph-api,azure-ad-graph-api,microsoft-graph-sdks,Azure Active Directory,Microsoft Graph Api,Azure Ad Graph Api,Microsoft Graph Sdks,根据在线文档,AAD分为四个组:Office365、安全、启用电子邮件的安全和分发 我使用以下内容列出组: graphGroupsPages = await graphServiceClient.Groups .Request() //.Filter(????) <= if yes, what should it be? .GetAsync(); 我看到了一个如何列出Office365统一组的示例 如
graphGroupsPages = await graphServiceClient.Groups
.Request()
//.Filter(????) <= if yes, what should it be?
.GetAsync();
我看到了一个如何列出Office365统一组的示例
如何仅列出安全组?根据文档,您应该列出mailEnabled为false且securityEnabled为true的组
根据文档,您应该列出mailEnabled为false且securityEnabled为true的组
如果我的答案对您有帮助,您可以将其作为答案接受。单击答案旁边的复选标记,将其从灰色变为填充。。看见这可能对其他社区成员有益。谢谢。如果我的答案对您有帮助,您可以接受它作为答案单击答案旁边的复选标记,将其从灰色变为填充。。看见这可能对其他社区成员有益。非常感谢。
var graphGroupsPages = await graphServiceClient.Groups.Request().Filter("mailEnabled eq false and securityEnabled eq true").GetAsync();