Get group users
Updated: July 21, 2017
The Get group users operation returns a JSON list of all users that belong to the group.
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.
GET 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
A user that was just added to a new group will not be able to see the group using Get groups. In order to see the group, the user will have to continuously call Get group users API with the new group Id until the group is part of the response.
Status code
| Code | Description |
|---|---|
| 200 | OK. Indicates success. |
| 403 | Unauthorized |
| 404 | Not found |
| 500 | Internal service error |
Content-Type
application/json
Body schema
{
"odata.context": "string",
"value": [
{
"groupUserAccessRight": "None",
"emailAddress": "string"
}
]
}
Show: