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.
Hello,
When using the Groups GetGroupsAsAdmin the API works when only calling https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=5000. When I try and add $expand to the call, I am returned with the same json without the expand..
Here is an example of my result when using the expand ( https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=5000&expand=users )
{
"@odata.context": "http://wabi-us-north-central-redirect.analysis.windows.net/v1.0/myorg/admin/$metadata#groups",
"@odata.count": 51,
"value": [
{
"id": "0CB12EE6-D7CF-4FF4-BCFE-BDFE6EB635ED",
"isReadOnly": false,
"isOnDedicatedCapacity": false,
"capacityMigrationStatus": "",
"type": "Workspace",
"state": "Active",
"name": "UCM_Test"
},
{
"id": "7DCED3FC-4A91-426D-A98A-B32A37365593",
"isReadOnly": false,
"isOnDedicatedCapacity": true,
"capacityId": "7C9E6ACF-5FA0-40A0-B034-38F32292B127",
"capacityMigrationStatus": "Migrated",
"type": "Workspace",
"state": "Active",
"name": "DEMO"
}
}
. You can see there is no users array in the returned object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.