Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
We are trying to use the GetGroupsAsAdmin API to return a list of workspaces with users expanded.
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/groups_getgroupsasadmin
We are able to get results but, each group id looks like this with nothing in the users array. I have all the necessary permissions as far as I can tell including Tenant read and write all. Also, although this example shows an Orphaned Group (it was pulled from the api documentation page), I know that there are users associated with groups because when I use Get Group Users and use a group id, I get back the users in the group if it's a group that I have permission to view. What could be the reason we're not seeing any users in the result? Since GetGroupsAsAdmin is an admin api, shouldn't it be able to see the users of the groups it returns?
{
"value": [
{
"id": "d5caa808-8c91-400a-911d-06af08dbcc31",
"isReadOnly": false,
"isOnDedicatedCapacity": false,
"name": "Orphaned Group",
"description": "Sample orphan group",
"type": "Workspace",
"state": "Active",
"users": []
}
]
}
Unfortunately it is applicable only for workspaces in the new workspace experience
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 |