Forum Discussion
Export workspace permissions
I have lots of Workspaces, for most of them I am either Admin or Member:
Is there a way to export who has access to each workspace?
I have around 100 workspaces, so I was looking for a way to avoid accessing each workspace individually (and manually).
Hi Anonymous You can use the Power BI Rest API to get the list of users for each workspace.
Click on the Try it. Then you can enter the Workspace ID and get the list of users for that workspace.
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-users-as-admin
Or use Powershell to loop through the workspaces and export the list of users:
Hi,
Your audit logs will be having those details.You can check with your tenant admin he will be able to query that data incase if they have the data.
Otherwise you can pull the data using rest API.You can refer this -
https://learn.microsoft.com/en-us/rest/api/power-bi/groups/get-group-users
Thanks,
Sai Teja
2 Replies
- Wikkleyn_81Super User
Hi Anonymous You can use the Power BI Rest API to get the list of users for each workspace.
Click on the Try it. Then you can enter the Workspace ID and get the list of users for that workspace.
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-users-as-admin
Or use Powershell to loop through the workspaces and export the list of users:
- SaiTejaTalasilaSuper User
Hi,
Your audit logs will be having those details.You can check with your tenant admin he will be able to query that data incase if they have the data.
Otherwise you can pull the data using rest API.You can refer this -
https://learn.microsoft.com/en-us/rest/api/power-bi/groups/get-group-users
Thanks,
Sai Teja