The workspace is the single most consequential governance unit in Power BI. It owns the items the analyst publishes, the roles that gate access, the capacity that processes the queries, and the sensitivity label that travels with every artifact inside it. Once a workspace is created and assigned to a capacity, almost every later decision about refresh, distribution, deployment, and access enforcement is anchored to it. Misplacing a workspace at this point cascades: a personal workspace cannot host an app, a Pro-only workspace cannot host a Direct Lake semantic model, and a workspace assigned to the wrong capacity region puts data in the wrong sovereignty zone for the rest of its life. The asset-management surface inside the workspace is correspondingly broad. It groups reports, semantic models, dataflows, dashboards, paginated reports, scorecards, notebooks, lakehouses, warehouses, and pipelines under one container, and it exposes endorsement, lineage, and item-level access settings against each one.
Workspaces come in two main classes. The default class is a collaborative workspace, created from the Workspaces pane in the Power BI Service or programmatically via the Power BI REST API. The other is My workspace, a single per-user personal sandbox that cannot host apps, deployment pipelines, or shared content of any kind. Production work belongs in a collaborative workspace. The collaborative workspace's capacity assignment determines which experiences light up: Power BI Pro capacity supports reports and semantic models with Import and DirectQuery storage modes, while Premium and Fabric capacities add Direct Lake semantic models, paginated reports without a per-viewer Pro license requirement, large semantic models, XMLA read-write endpoints, dataflows Gen2, lakehouses, warehouses, and deployment pipelines. The capacity is set in the workspace settings under Premium (or Fabric Capacity) and can be moved between capacities later as long as the destination capacity is in the same tenant and licensing tier.
Inside the workspace, items behave as versioned resources. Each report, semantic model, and dashboard carries a workspace-relative identity, an owner (a user or a service principal), an optional sensitivity label, an optional endorsement (None, Promoted, Certified), and lineage edges to the items it depends on. Lineage view renders these edges as a graph, which becomes the primary navigational tool when a downstream report breaks because its semantic model was renamed or moved. Lineage view is also the path to identify which semantic models a particular dashboard tile reads from, which dataflow feeds a semantic model, and which gateway brokers a connection.
💡 Exam Trap: Apps, deployment pipelines, scheduled refresh notifications, and shared content of any kind cannot originate from My workspace. A question that asks "an analyst publishes to My workspace and then wants to distribute" is testing whether the candidate knows the publish target must move to a collaborative workspace first.
📊 Limit: A semantic model in a Pro workspace is capped at 1 GB after compression. Moving to Premium or Fabric capacity raises the cap to the Large semantic model storage format setting on the workspace, which scales with the SKU. Pin this limit to memory: it is the single most-tested capacity constraint.
Identify when a gateway is required
The on-premises data gateway is the broker that lets the cloud-hosted Power BI Service reach a data source it cannot reach directly. The rule is simple to state and easy to misread under exam pressure: if the source is reachable from the public internet without any private routing, a gateway is not required, and Power BI connects to it directly using the credentials stored against the semantic model. If the source is on a private network (an on-premises file share, a corporate SQL Server, a Linux Postgres on a private VNet, a SharePoint Server on-premises farm, an SAP HANA cluster behind a firewall, a network-mounted Excel workbook, an Oracle database behind a corporate gateway), then the gateway is required for any refresh that touches the source from the Power BI Service. The same rule applies to DirectQuery semantic models: if the user opens a DirectQuery report whose underlying source is private, every interaction routes through the gateway.
There are two gateway form factors. The standard mode (on-premises data gateway) is the shared form factor that an organisation installs on a Windows server, registers in a gateway cluster, and shares across many users and semantic models. The personal mode (on-premises data gateway personal mode) is installed on the analyst's own workstation and is bound to that single user; it supports Import refresh only and cannot back DirectQuery or Live Connection traffic for other users. The standard mode is the production answer in any multi-user scenario. The Virtual Network data gateway is a managed form factor with no on-prem install: Power BI provisions it inside an Azure subscription and binds it to a delegated subnet in a VNet, so the service reaches private endpoints, private DNS zones, and VNet-injected PaaS without any customer-managed VM.
Two patterns are worth memorising. First, an Azure SQL Database with public network access does NOT require a gateway, even if its firewall allows only specific IPs from the Power BI Service. Second, an Azure SQL Database whose public network access is disabled and that is only reachable over a private endpoint requires either the VNet data gateway or an on-premises data gateway sitting on a VM inside the same VNet. The distractor on the exam is reliably "Azure SQL never needs a gateway" or "every Azure source needs a gateway"; both are wrong because the question turns on network reachability, not on whether the source is in Azure.
# Install the on-premises data gateway via the gateway installer, then
# register the gateway cluster in the Power BI Service using the
# Data Gateway PowerShell module.
Install-Module -Name DataGateway -Scope CurrentUser -Force
Connect-DataGatewayServiceAccount
# Create a new gateway cluster, register the local gateway machine
# into it, and confirm the cluster is online.
$cluster = Add-DataGatewayCluster `
-Name "Sales-Finance-Prod-Cluster" `
-RecoveryKey (ConvertTo-SecureString -String $env:GW_RECOVERY -AsPlainText -Force) `
-RegionKey "westeurope"
Get-DataGatewayCluster -GatewayClusterId $cluster.Id
// Bind a semantic model in a workspace to the gateway cluster via the
// Power BI REST API. The dataSourceObjectId is returned by the
// Get Datasources call against the dataset (semantic model) id.
{
"method": "POST",
"uri": "https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/datasets/{datasetId}/Default.BindToGateway",
"body": {
"gatewayObjectId": "0d2f8f15-2a8c-4f31-bd1a-2c0f3a1e1234",
"datasourceObjectIds": [
"5dca0db3-7c5d-4a36-9f5b-b8e0d7f1aaaa",
"5dca0db3-7c5d-4a36-9f5b-b8e0d7f1bbbb"
]
}
}
⚠️ Anti-Pattern: Installing a personal mode gateway on a shared workstation and using it for production refresh. The personal mode binds to the installing user's identity, runs Import only, and cannot serve DirectQuery or Live Connection traffic for other users. The standard mode in a cluster of two or more gateway machines is the production answer.
💡 Exam Trap: A semantic model that combines an on-premises SQL Server source and a cloud Azure SQL source must be configured so that the cloud source is also accessible through the gateway, or the privacy levels and Formula Firewall behaviour block the combination. The right answer is to add both data sources to the gateway, not to remove the cloud source from the model.
Apply sensitivity labels
Sensitivity labels come from Microsoft Purview Information Protection and travel with the artifact across the workspace, the export path, and the consumed report. The label is selected from the tenant's published label policy, which is configured by an information-protection administrator outside Power BI; the analyst's job is to pick the right label and to verify that it is being inherited downstream. The four standard labels in a typical configuration are Public, General, Confidential (with sub-labels such as Confidential All Employees, Confidential External), and Highly Confidential. Each label can carry encryption (a Microsoft Entra rights protection policy), watermarking, and export restrictions; once applied to a Power BI semantic model, the label is inherited by every report built on that model, by every dashboard pinned from those reports, and by any exported PDF, PowerPoint, or Excel file produced from the report.
Two propagation rules deserve memorisation. First, sensitivity labels on a semantic model are sticky to downstream items: a report built on a Highly Confidential semantic model is automatically classified Highly Confidential, even if the analyst tries to set a lower label on the report itself. The downstream item cannot be assigned a less restrictive label than its upstream source. Second, labels travel through exports: a user who exports an Excel workbook from a Highly Confidential dataset receives the workbook with the same label applied at the Excel file level, and any Microsoft Information Protection policy attached to that label (such as "Do not allow forwarding outside the organisation") applies to the exported file. This is the path that closes the gap between in-Power BI security and the analyst's clipboard.
// Apply a sensitivity label to a semantic model via the Power BI Admin REST API.
POST https://api.powerbi.com/v1.0/myorg/admin/datasets/datasetSetSensitivityLabels
Content-Type: application/json
{
"datasets": [
{
"id": "5dca0db3-7c5d-4a36-9f5b-b8e0d7f1aaaa",
"informationProtectionLabelId": "ea3b3a8c-3b71-4f53-9f8e-2bd3e9c8aaaa"
}
]
}
📊 Limit: Sensitivity labels assigned to Power BI items are read-write only for users who have the rights described in the label policy AND a Power BI Pro license or a Premium per User license. Viewer-only consumers can see the label but cannot change it.
🎯 Scenario: A finance analyst publishes a semantic model carrying the Confidential All Employees label and then layers a second report against it. The team lead asks why the new report shows the same label even though it was published as Public. The answer: the inheritance rule. To carry a lower label, the analyst would need to build the report on a different, less restricted semantic model, not change the label on the report itself.
💡 Exam Trap: Sensitivity labels and row-level security solve different problems. The label gates who can OPEN the report and what they can do with the export; row-level security gates which ROWS of the table any opener sees. A scenario that requires "executives see all rows, regional managers see only their region's rows" is row-level security, not a label. A scenario that requires "the exported PDF must be unreadable outside the tenant" is a label with encryption.
