Authoring and publishing protection policies for Azure sources (preview)

Protection access control policies (protection policies) enable organizations to automatically protect sensitive data across data sources. Microsoft Purview already scans data assets and identifies sensitive data elements, and this new feature allows you to automatically restrict access to that data using sensitivity labels from Microsoft Purview Information Protection.

Protection policies ensure that Enterprise Admins must authorize data access for a sensitivity type. Once these policies are enabled, access control is automatically imposed whenever sensitive information is detected with Microsoft Purview Information Protection.

Actions supported

  • Restrict access on labeled data assets so that only users and groups you select can access them.
  • Action configured on Sensitivity Labels in the Microsoft Purview Information Protection solution.

Sources supported

  • Azure SQL Database
  • Azure Blob Storage
  • Azure Data Lake Storage Gen2

Prerequisites

  • Microsoft 365 E5 licenses. For information about the specific licenses required, see this information on sensitvity labels. Microsoft 365 E5 trial licenses can be attained for your tenant by navigating here from your environment.
  1. Configure users and permissions.

  2. Create or extend sensitivity labels from Microsoft Purview Information Protection to Data Map assets.

  3. Register sources - register any of these sources you like:

    1. Azure SQL Database
    2. Azure Blob Storage
    3. Azure Data Lake Storage Gen2

    Note

    To continue, you need to be a data source administrator in the collection where your Azure storage source is registered.

  4. Enable data policy enforcement

    1. Go to the new Microsoft Purview portal.
    2. Select the Data Map tab in the left menu.
    3. Select the Data sources tab in the left menu.
    4. Select the source where you want to enable data policy enforcement.
    5. Set the Data policy enforcement toggle to On.
  5. Scan sources - register any of the sources you've registered.

    1. Azure SQL Database
    2. Azure Blob Storage
    3. Azure Data Lake Storage Gen2

    Note

    Wait at least 24 hours after scanning.

Users and permissions

There are several types of users you need, and you need to set up the corresponding roles and permissions for these users:

  1. Microsoft Purview Information Protection Admin - Broad rights to manage Information Protection solution: reviewing / creating / updating / deleting protection policies, sensitivity labels and label/auto-labeling policies, all classifier types. They should also have full access to data explorer, activity explorer, Microsoft Purview Information Protection insights, and reports.
    • User needs the roles from within the built-in role group “Information Protection”, along with new roles for data map reader, insights reader, scan reader, source reader. Full permissions would be:
      • Information Protection reader
      • Data Map Reader
      • Insights Reader
      • Source Reader
      • Scan Reader
      • Information Protection admin
      • Information Protection analyst
      • Information protection investigator
      • Data classification list viewer
      • Data classification content viewer
      • Microsoft Purview evaluation administrator
    • Option 1 - Recommended:
      1. Within the Microsoft Purview role groups panel, search for Information Protection.
      2. Select the Information Protection role group, select Copy.
      3. Name it: "Preview - Information Protection", and select Create copy.
      4. Select Preview - Information Protection and select Edit.
      5. On the Roles page, + Choose roles and search for “reader”.
      6. Select these four roles: Data map reader, insights reader, scan reader, source reader.
      7. Add the Microsoft Purview Information Protection admin test user account to this new copied group and complete the wizard.
    • Option 2- uses built-in groups (will provide more permissions than needed)
      1. Place a new Microsoft Purview Information Protection admin test user account within the built-in groups for Information Protection, Data Estate Insights Readers, Data Source Administrators.
  2. Data Owner/Admin - This user will enable your source for data policy enforcement in Microsoft Purview for Azure and Amazon S3 sources.

Create protection policy

Now that you've checked the prerequisites and prepared your Microsoft Purview instance and source for protection policies and waited at least 24 hours after your most recent scan, follow these steps to create your protection policies:

  1. Sign in to the Microsoft Purview portal and select the Information Protection card. If the Information Protection solution card isn't displayed, select View all solutions and then select Information Protection from the Data Security section.

  2. On the left navigation, select select Policies, then select Protection policies.

  3. Select New protection policy.

  4. Provide a name and description and select Next.

  5. Select + Add sensitivity label to add sensitivity label(s) to detect for the policy, and select all the labels you want the policy to apply to.

  6. Select Add then select Next.

  7. Select the sources you want to apply the policy to. You can select multiple sources. Select Edit to manage the scope for each you select.

  8. Depending on your source, select the + Include button at the top to add up to 10 resources your scope list. The policy will be applied to all the resources you select.

    Note

    Currently a maximum of 10 resources is supported, and they must be selected under Edit for them to be enabled.

  9. Select Add and then select Done when your list of sources is complete.

  10. Depending on your source, select the type of protection policy you want to create.

  11. Select the users who will NOT be denied access based on the label. Everyone in your org will be denied access to labeled items except for the users and groups you add here.

    Important

    Ensure that any service principal accounts running data governance scans for the scoped sources are included in a Security Group. Add this Security Group to the allowed list of your protection policies. This will prevent future scans from being blocked by access restrictions on labeled files.

  12. Select Next.

  13. Choose whether turn on the policy right away or not, and select Next.

  14. Select Submit.

  15. Select Done.

You should now see your new policy in the list of protection policies. Select it to confirm that all the details are correct.

Manage protection policy

To edit or delete an existing protection policy, follow these steps:

  1. Open the Microsoft Purview portal.
  2. Open the Information Protection solution.
  3. Select Policies, then select Protection policies.
  4. Select the policy you want to manage.
  5. To change any of the details, select the Edit policy button.
  6. To delete the policy, select Delete policy.