Κοινή χρήση μέσω


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

CapacityMigrationAssignment[]

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
AssignWorkspacesToCapacityRequest

A request to assign workspaces to a premium capacity

CapacityMigrationAssignment

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

CapacityMigrationAssignment[]

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