Forum Discussion
How to get users asingned to reports by Rest API
Anonymous
GetGroupsAsAdmin return a list of workspaces, please refer to https://docs.microsoft.com/en-us/rest/api/power-bi/admin/groups_getgroupsasadmin
If you want get a list of users of a workspace, try Get Group Users: https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroupusers.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Anonymous Thank you but does not solve my problem.
The rest method which you mansion works great if all users are assigned directly to group(workspace). Unfortunately in my case I have users who are assigned to specific report they are no members of the group. In my exercise I want to know who as access to what so I can’t achieve this by this method.