Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
When using an AD Security Group (not mail-enabled), this admin endpoint doesn't work.
For example:
A POST to https://api.powerbi.com/v1.0/myorg/admin/groups/{groupId}/users
with the body:
{
"groupUserAccessRight": "Member",
"displayName": "<Group_Name>",
"identifier": "<object_id>",
"principalType": "Group"
}
results in the response:
{
"error": {
"code": "InvalidRequest",
"message": "Parameter PrincipalType or Identifier is missing or invalid"
}
}
I'm pretty sure the body of my request is correct, because when I get the list of users for the group, the response for the group is exactly the same as my request body above.
Other things to note:
Why doesn't the Admin API work?
Thanks,
Ed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.