Forum Discussion
PowerBI API
- Anonymous4 years ago
Hi nupur ,
If email is not turned on, joining is not supported.
Here are the three supported mailbox groups:
Security groups, distribution lists, Microsoft 365 groups.
If you want to delete people in a group, you can use Power BI Rest "Groups --Delete User In Group"
Deletes the specified user permissions from the specified workspace.
https://docs.microsoft.com/en-us/rest/api/power-bi/groups/delete-user-in-group
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi. Let me see if I understand. You want to add an AD Group to a workspace with role Admin with the API. The answer would be no you can't. As you can see in the API doc, adding users is one by one "Add Group User" request.
https://docs.microsoft.com/en-us/rest/api/power-bi/groups
However you can add a group in the workspace with the UI. Just go to Power Bi Service, open the workspace, "access" option and add it. Of course you need permission on the workspace (if you don't have it and you are admin, add you as admin with the API or ask the admin to add you as admin)
I hope that helps,