Get group users

 

Updated: July 21, 2017


Request | Response

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

NameDescriptionData Type
group_idGuid 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

CodeDescription
200OK. Indicates success.
403Unauthorized
404Not found
500Internal service error

Content-Type

application/json

Body schema

{
  "odata.context": "string",
  "value": [
    {
      "groupUserAccessRight": "None",
      "emailAddress": "string"
    }
  ]
}

Show: