Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi, I'm consistently getting an error trying to add an AAD Group to a V2 workspace using the AddUserAsAdmin API.
Adding a single user via its email address works fine. Adding a group interatively in the service works fine.
However, trying to perform the same operation using the API does generate this error:
{ {"error":{"code":"ADGraphEntityOperationFailed","pbi.error":{"code":"ADGraphEntityOperationFailed","parameters":{},"details":[]}}} }
I have tried this on two different tenants, with the same result in both cases.
My payload (this is based on what the Groups/GetGroupUsers API returns when the AD group is added via the UI):
{ "principalType": "Group", "groupUserAccessRight": "Admin", "identifier": "22a72618-2597-44c4-8258-793d37675811", "displayName": "Test Group" }
It would be great if someone could confirm this as a bug, or else suggest any modifications when making that call.
Regards,
Mathias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.