Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RajCZ
Frequent Visitor

Power BI Admin-Access to all workspaces

as a Power BI administrator, I need to able to access all Power BI workspaces and all contents inside Power BI in the tenant.

 

I know it is possible to gain access workspace by workspace by using "Admin portal" --> "Workspaces" --> click on desired workspace "..." and grant myself access. 

 

But this sounds more like a manual and repeative work and doesn't make it easy for administration, because

1. I do not know when a new workspaces was created and it is manual work to add admins to each and every workspace

2. It also confuses workspace members that now there is also another person allowed to access their workspace (when they check the Access menu)

Is there any other way to gain access to workspaces(at least all public workspaces)

 

I tried powershell script, that loops through all workspaces and makes me admin of workspaces.

but since I don't even have minimum permission on workspace , so no workspace comes in loop.

 

Thank you

 

4 REPLIES 4
RajCZ
Frequent Visitor

Thanks, this way I can get workspace ids for other workspaces, eventhough I have to give permission one by one, is that right or I am missing something.

Thanks

RajCZ
Frequent Visitor

Hi Above script needs workspace id, since I don't have access to workspace, I can't get workspace id and again it's manual, one workspace at a time.

First do this

https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin#code-try-0

------------------------------------
Brunner BI focusing on Microsoft Power BI development and consulting
Developers of external tool "Measure Killer"
My blog
Brunner_BI
Super User
Super User

What do you want to do when you have access to 1.000 workspaces?

 

You give yourself access through another API call

https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-add-user-as-admin

There is a limit of 200 requests per hour for one tenant.

------------------------------------
Brunner BI focusing on Microsoft Power BI development and consulting
Developers of external tool "Measure Killer"
My blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.