Workspace Collections - create

Creates a new Power BI Workspace Collection with the specified properties. A Power BI Workspace Collection contains one or more workspaces, and can be used to provision keys that provide API access to those workspaces.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}?api-version=2016-01-29

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

Azure resource group

subscriptionId
path True

string

Gets subscription credentials which uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

workspaceCollectionName
path True

string

Power BI Embedded Workspace Collection name

api-version
query True

string

Client Api Version.

Request Body

Name Type Description
location

string

Azure location

sku

AzureSku

tags

object

Responses

Name Type Description
200 OK

WorkspaceCollection

Workspace collection created successfully

Other Status Codes

Error

Default Response. It will be deserialized as per the Error definition specified in the schema. Exception will be thrown.

Definitions

Name Description
AzureSku
AzureSkuName

SKU name

AzureSkuTier

SKU tier

CreateWorkspaceCollectionRequest
Error
ErrorDetail
WorkspaceCollection

AzureSku

Name Type Description
name

AzureSkuName

SKU name

tier

AzureSkuTier

SKU tier

AzureSkuName

SKU name

Name Type Description
S1

string

AzureSkuTier

SKU tier

Name Type Description
Standard

string

CreateWorkspaceCollectionRequest

Name Type Description
location

string

Azure location

sku

AzureSku

tags

object

Error

Name Type Description
code

string

details

ErrorDetail[]

message

string

target

string

ErrorDetail

Name Type Description
code

string

message

string

target

string

WorkspaceCollection

Name Type Description
id

string

Resource id

location

string

Azure location

name

string

Workspace collection name

properties

object

Properties

sku

AzureSku

tags

object

type

string

Resource type