cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

API rest Power BI - Assigning a premium capacity to a workspace

I use Azure DevOps to create and automate a Power BI service pipeline.

 

So I am using Powershell and REST APIs and when I create a workspace I would like to assign a Premium capacity to it at the same time but I don't know which API I should use, how to use them?

 

Can you help me ?

 

Thanks in Advance,

 

Cha

1 ACCEPTED SOLUTION
yingyinr
Community Support
Community Support

Hi @Anonymous ,

Please check if the following REST API are what you are searching for...

Admin - Capacities AssignWorkspacesToCapacity

POST https://api.powerbi.com/v1.0/myorg/admin/capacities/AssignWorkspaces

yingyinr_0-1653035115465.png

Best Regards

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

View solution in original post

1 REPLY 1
yingyinr
Community Support
Community Support

Hi @Anonymous ,

Please check if the following REST API are what you are searching for...

Admin - Capacities AssignWorkspacesToCapacity

POST https://api.powerbi.com/v1.0/myorg/admin/capacities/AssignWorkspaces

yingyinr_0-1653035115465.png

Best Regards

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

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.