Events
Mar 31, 11 p.m. - Apr 2, 11 p.m.
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: ✅ SQL database in Microsoft Fabric
Microsoft Purview is a family of data governance, risk, and compliance solutions that can help your organization govern, protect, and manage your entire data estate. Among other benefits, Microsoft Purview allows you to label your SQL database items with sensitivity labels and define protection policies that control access based on sensitivity labels.
This article explains how Microsoft Purview protection policies work together with Microsoft Fabric access controls and SQL access controls in SQL database in Microsoft Fabric.
For general information about Microsoft Purview capabilities for Microsoft Fabric, including SQL database, see the articles listed in Related content.
Each protection policy for Microsoft Fabric is associated with a sensitivity label. A protection policy controls access to items that have the associated label via two access controls:
Allow users to retain read access - When enabled, allows the specified users (or the users belonging to the specified groups) to retain the Read item permission on labeled items if the specified users already have the permission. Any other permissions the specified users have on the item get removed. In SQL database, the Read item permission is required for a user to connect to a database. Therefore, if a user isn't specified in this access control, the user can't connect to the database.
Allow users to retain full control - When enabled, allows the specified users (or the users belonging to the specified groups) to retain full control on the labeled item if the specified users already have it, or any other permissions they might have. For SQL database items, this control allows users to retain the Write item permission, which means the user retains full administrative access inside the database. If a user isn't specified in this access control, the Write item permission is effectively removed from the user. This control has no effect on user's SQL native permissions in the database - for more information, see Example 4 and Limitations.
The examples in this section share the following configuration:
The policy removes user's Read item permission, therefore the user can't connect to the Sales database. So, the user can't read or access any data in the database.
The policy removes user's Read item permission, therefore the user can't connect to the Sales database, irrespective of user's SQL native permissions (granted via user's membership in the db_owner role) in the database. So, the user can't read or access any data in the database.
As a member of the Contributor role, the user initially has all permissions on the Sales database, including Read, ReadData, and Write. The Allow users to retain read access access control in the policy allows the user to retain the Read and ReadData permissions, however the Allow users to retain full control access control removes user's Write permission. As a result, the user can connect to the database and read data, but the user looses the administrative access to the database, including the ability to write/edit data.
The Allow users to retain read access access control in the policy allows the user to retain Read permission. As the user doesn't initially have full control access (the Write item permission), the Allow users to retain full control access control doesn't have any effect on user's permission granted in Microsoft Fabric. The Allow users to retain full control access control doesn't impact user's SQL native permission in the database. As a member of the db_owner role, the user continues to have administrative access to the database. See Limitations.
Events
Mar 31, 11 p.m. - Apr 2, 11 p.m.
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Module
Describe the data security solutions of Microsoft Purview - Training
Describe the data security solutions of Microsoft Purview.
Certification
Microsoft Certified: Information Protection and Compliance Administrator Associate - Certifications
Demonstrate the fundamentals of data security, lifecycle management, information security, and compliance to protect a Microsoft 365 deployment.
Documentation
Security in SQL database in Microsoft Fabric - Microsoft Fabric
Learn about security in SQL database in Microsoft Fabric.
SQL database Overview (Preview) - Microsoft Fabric
Learn about SQL database in Microsoft Fabric.
Limitations for SQL database (preview) - Microsoft Fabric
A detailed list of limitations for SQL database in Microsoft Fabric.
Fabric decision guide - choose an operational database - Microsoft Fabric
Review a reference table and scenarios to choose the most suitable operational database for your transactional workloads.