【发布时间】:2018-12-04 01:13:49
【问题描述】:
我可以使用 ActiveDirectoryClient 创建一个组:
await activeDirectoryClient.Groups.AddGroupAsync(new Group() {
DisplayName = "Group4",
MailNickname = "test",
MailEnabled = false,
SecurityEnabled = true
});
但是,此 Group 模型不提供指定组类型和动态组规则的属性。 我还找到了一种进行 API 调用的方法,该调用可以在正文中显示组类型,但此示例未显示如何指定动态组规则: https://docs.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0
我想知道如何使用 C# 代码实现与 Azure Portal Ibiza 相同的逻辑 Azure Portal UI
我使用F12开发工具查看Azure Portal使用的api调用,https://main.iam.ad.ext.azure.com/api/groups/ 请求正文就像Screen shot of request body
【问题讨论】:
标签: c# azure-active-directory azureportal