Add group user

 

Updated: July 21, 2017



Request | Response

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

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

Body Schema

System_CAPS_ICON_note.jpg Note

Currently, you can only add admin users.

{
  "groupUserAccessRight": "Admin",
  "emailAddress": "john@contoso.com"
}

Empty

Status code

CodeDescription
200Ok.
403Unauthorized
404Not found
500Internal service error
Show: