Dataflow Storage Accounts - Groups AssignToDataflowStorage

Assigns the specified workspace to the specified dataflow storage account.

To perform this operation, the user must be an admin on the specified workspace and the Power BI dataflow storage account must be enabled.

To unassign the specified workspace from a Power BI dataflow storage account, provide an empty GUID (00000000-0000-0000-0000-000000000000) as the dataflowStorageId.

Required Scope

StorageAccount.ReadWrite.All and Workspace.ReadWrite.All

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/AssignToDataflowStorage

URI Parameters

Name In Required Type Description
groupId
path True

string

uuid

The workspace ID

Request Body

Name Required Type Description
dataflowStorageId True

string

The Power BI dataflow storage account ID. To unassign the specified workspace from a Power BI dataflow storage account, use an empty GUID (00000000-0000-0000-0000-000000000000).

Responses

Name Type Description
200 OK

OK

Examples

Example

Sample Request

POST https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/AssignToDataflowStorage
{
  "dataflowStorageId": "d692ae06-708c-485e-9987-06ff0fbdbb1f"
}

Sample Response

Definitions

AssignToDataflowStorageRequest

A Power BI assign to dataflow storage account request

Name Type Description
dataflowStorageId

string

The Power BI dataflow storage account ID. To unassign the specified workspace from a Power BI dataflow storage account, use an empty GUID (00000000-0000-0000-0000-000000000000).