[Azure AD]:用户组分配所有者
[Azure AD]: User Group Assign Owner
我在 Azure Ad 工作。我必须使用 Graph API.but 创建用户和组并将用户映射到组中,我找不到如何使用 Graph API.
在用户组中分配所有者
任何 API 可用于使用 Graph 在 Azure 中分配组所有者 API
任何知道的人分享 Link。
提前致谢。
对于这个你必须使用 Microsoft Graph API,我在 Azure AD Graph API 中找不到这样做的方法。
您正在寻找这个操作:https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/group_post_owners
向 https://graph.microsoft.com/v1.0/groups/{id}/owners/$ref
发出 HTTP POST 请求(将 {id} 替换为组的对象 ID),请求正文如下:
{
"@odata.id": "https://graph.microsoft.com/v1.0/users/{id}"
}
将{id}替换为用户的对象id。
我在 Azure Ad 工作。我必须使用 Graph API.but 创建用户和组并将用户映射到组中,我找不到如何使用 Graph API.
在用户组中分配所有者任何 API 可用于使用 Graph 在 Azure 中分配组所有者 API
任何知道的人分享 Link。
提前致谢。
对于这个你必须使用 Microsoft Graph API,我在 Azure AD Graph API 中找不到这样做的方法。
您正在寻找这个操作:https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/group_post_owners
向 https://graph.microsoft.com/v1.0/groups/{id}/owners/$ref
发出 HTTP POST 请求(将 {id} 替换为组的对象 ID),请求正文如下:
{
"@odata.id": "https://graph.microsoft.com/v1.0/users/{id}"
}
将{id}替换为用户的对象id。