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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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

Top Solution Authors