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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Permission to assign group to capacity

I am using the C# API to create new groups. When it comes to the step of assigning the created group to an capacity I get an "unauthorized" response. When using the PowerBi Webfrontend (https://app.powerbi.com) I am able to assign the group to the capacity.

 

What permission do I need to be able to assign the capacity using the API?

1 ACCEPTED SOLUTION
v-micsh-msft
Microsoft Employee
Microsoft Employee

Check the article below:

"

Currently, through the Power BI portal, a workspace admin with capacity assignment permissions can access Edit Workspace and choose a capacity to assign to a workspace. The new Assign to Capacity API replicates this behavior. The API can be used to assign the workspace, unassign it, or move between capacities.

"

Refer:

Power BI Embeded capacity APIs

 

Regards,

Michael

View solution in original post

1 REPLY 1
v-micsh-msft
Microsoft Employee
Microsoft Employee

Check the article below:

"

Currently, through the Power BI portal, a workspace admin with capacity assignment permissions can access Edit Workspace and choose a capacity to assign to a workspace. The new Assign to Capacity API replicates this behavior. The API can be used to assign the workspace, unassign it, or move between capacities.

"

Refer:

Power BI Embeded capacity APIs

 

Regards,

Michael

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Users online (5,414)