Admin - Capacities AssignWorkspacesToCapacity
Assigns the specified workspaces to the specified Premium capacity.
Permissions
The user must be a Fabric administrator.
Required Scope
Tenant.Read.All or Tenant.ReadWrite.All
Limitations
Maximum 200 requests per hour.
POST https://api.powerbi.com/v1.0/myorg/admin/capacities/AssignWorkspaces
Request Body
Name | Type | Description |
---|---|---|
capacityMigrationAssignments |
Assignment contract for migrating workspaces to a premium capacity as tenant admin |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Examples
Example
Sample request
POST https://api.powerbi.com/v1.0/myorg/admin/capacities/AssignWorkspaces
Sample response
Definitions
Name | Description |
---|---|
Assign |
A request to assign workspaces to a premium capacity |
Capacity |
Assignment contract for migrating workspaces to a premium capacity as tenant admin |
AssignWorkspacesToCapacityRequest
A request to assign workspaces to a premium capacity
Name | Type | Description |
---|---|---|
capacityMigrationAssignments |
Assignment contract for migrating workspaces to a premium capacity as tenant admin |
CapacityMigrationAssignment
Assignment contract for migrating workspaces to a premium capacity as tenant admin
Name | Type | Description |
---|---|---|
targetCapacityObjectId |
string |
The premium capacity ID |
workspacesToAssign |
string[] |
The workspace IDs to migrate to a premium capacity |