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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.