Add group user
Updated: July 21, 2017
The Add group user operation adds a user to a group. Currently, you can only add admin users.
Groups are a collection of unified Azure Active Directory groups that the user is a member of and is available in the Power BI service. These are referred to as app workspaces within the Power BI service.
POST https://api.powerbi.com/v1.0/myorg/groups/{group_id}/users
Uri parameter
| Name | Description | Data Type |
|---|---|---|
| group_id | Guid of the Group to use. You can get the group id from the Get Groups operation. Groups are referred to as app workspaces within the Power BI service. | String |
Header
Authorization: Bearer eyJ0eX ... FWSXfwtQ
Body Schema
Currently, you can only add admin users. |
{
"groupUserAccessRight": "Admin",
"emailAddress": "john@contoso.com"
}
Empty
Status code
| Code | Description |
|---|---|
| 200 | Ok. |
| 403 | Unauthorized |
| 404 | Not found |
| 500 | Internal service error |
Show: