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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors