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

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

Reply
Mrugesh
Frequent Visitor

Does getGroups (Non-admin) REST API extracts only ACTIVE WORKSPACES?

Hi Team,

 

I am playing around with the getGroups non-admin API, https://learn.microsoft.com/en-us/rest/api/power-bi/groups/get-groups

I see only ACTIVE Workspaces getting listed, which are given access to the Service Principal account.

 

Question is whether this API supports any other state of workspace.

 

For instance, with Admin version of this API, I could see states-DELETED, REMOVING for few workspaces.

 

In addition, documentation says ORPHANED state too. I am unable to create one as from UI it forces to have atleast one Admin User. Is there any way to create one orphaned state workspace?

 

Thanks.

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @Mrugesh ,

 

To create and configure a workspace you must have administrator access to the workspace. The same requirements must be met even if created via the rest api method.

vhenrykmstf_0-1666084703275.png

There are also no configuration parameters for workspace role in the documentation.

vhenrykmstf_2-1666084746493.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-henryk-mstf Yes, create workspace API do not support state parameter. Having said that I was trying to create a workspace from Power BI UI but unable to do so for ORPHANED state. Does that mean ORPHANED state workspaces no more applicable as atleast one Admin must be configured ?

 

Question is for fetching the workspaces which are already been created. Does https://learn.microsoft.com/en-us/rest/api/power-bi/groups/get-groups API returns only ACTIVE state workspsaces ? Or does it also include any other state as well ?

 

Thanks,

Mrugesh

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Kudoed Authors