Sensitivity label inheritance from data sources (preview)
Power BI datasets that connect to sensitivity-labeled data in supported data sources can inherit those labels, so that the data remains classified and secure when brought into Power BI.
Currently supported data sources:
- Azure Synapse Analytics (formerly SQL Data Warehouse)
- Azure SQL Database
The data in the data source must be labeled with Microsoft Information Protection labels.
For Azure Synapse Analytics and Azure SQL Database, this is accomplished using a two-step Purview flow:
- Automatically apply sensitivity labels to your data.
- Classify your Azure SQL data using Azure Purview labels.
- The scope of the labels must be Files and emails and Azure Purview assets. See Extending sensitivity labels to Azure Purview and Creating new sensitivity labels or modifying existing labels.
The Apply sensitivity labels from data sources to their data in Power BI (preview) tenant admin setting must be enabled.
All conditions for applying a label must be met.
- In the Power BI service, when the dataset is connected to the data source, Power BI inherits the label and applies it automatically to the dataset. Subsequently, inheritance occurs upon dataset refresh. In Power BI Desktop, when you connect to the data source via Get data, Power BI inherits the label and automatically applies it to the .pbix file (both the dataset and report). Subsequently inheritance occurs upon refresh.
- If the data source has sensitivity labels of different degrees, the most restrictive is chosen for inheritance. In order to be applied, that label (the most restrictive) must be published for the dataset owner.
- Labels from data sources never overwrite manually applied labels.
- Less restrictive labels from the data source never overwrite more restrictive labels on the dataset.
- In Desktop, if the incoming label is more restrictive than the label that is currently applied in Desktop, a banner will appear recommending to the user to apply the more restrictive label.
- Dataset refresh will succeed even if for some reason the label from the data source is not applied.
No inheritance takes place if the dataset owner is not authorized to apply sensitivity labels in Power BI, or if the specific label in question has not been published for the dataset owner.
- Inheritance from data sources is not supported for datasets located in classic workspaces. My Workspace and V2 workspaces are supported.
- Inheritance from data sources is supported only for datasets with enhanced metadata. See Using enhanced dataset metadata for more information.
- Inheritance from data sources is supported only for datasets using the Import data connectivity mode. Live connection and DirectQuery connectivity is not supported.
- Inheritance from data sources is not supported in connections via gateways or Azure Virtual Network (VNet). This means that inheritance from an Excel file located on a local machine won't work, because this requires a gateway.