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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Anonymous
Not applicable

Extract list of admin from each workspace

Hi,

 

As a service admin , I want to pull list of all the admins of all the workspaces ?

Is there any such function / cmdlt available ?

 

Regards,

Arun

1 ACCEPTED SOLUTION
arvindsingh802
Super User
Super User

User Admin - Groups GetGroupsAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs and define parameter as below

 

arvindsingh802_0-1624387935285.png

 

If you have more than 5000 worksapce then first pull first 5000, then add parameter as below (you have to run query that will give 5000 result in each query)

 

arvindsingh802_2-1624387989894.png

You can also use Powershell script, I don't have that handy as of now.

 

If this post helps, then please consider Accept it as the solution and give it a thumbs up


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

View solution in original post

1 REPLY 1
arvindsingh802
Super User
Super User

User Admin - Groups GetGroupsAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Docs and define parameter as below

 

arvindsingh802_0-1624387935285.png

 

If you have more than 5000 worksapce then first pull first 5000, then add parameter as below (you have to run query that will give 5000 result in each query)

 

arvindsingh802_2-1624387989894.png

You can also use Powershell script, I don't have that handy as of now.

 

If this post helps, then please consider Accept it as the solution and give it a thumbs up


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors
Top Kudoed Authors