Partage via


How to delete self-service data access policies

In a Microsoft Purview catalog, you can now request access to data assets. If policies are currently available for the data source type and the data source has Data Policy Enforcement enabled, a self-service policy is generated when a data access request is approved.

This article describes how to delete self-service data access policies that have been auto-generated by approved access requests.

Prerequisites

Important

To delete self-service policies, make sure that the below prerequisites are completed.

Self-service policies must exist to be deleted. To enable and create self-service policies, follow these articles:

  1. Enable Data Policy Enforcement - this will allow Microsoft Purview to create policies for your sources.
  2. Create a self-service data access workflow - this will enable users to request access to data sources from within Microsoft Purview.
  3. Approve a self-service data access request - after approving a request, if your workflow from the previous step includes the ability to create a self-service data policy, your policy will be created and will be viewable.

Permission

Only users with Policy Admin privilege can delete self-service data access policies.

Steps to delete self-service data access policies

The Microsoft Purview governance portal can be launched as shown below from the Azure portal or by using the url directly.

Screenshot showing a Microsoft Purview account open in the Azure portal, with the Microsoft Purview governance portal button highlighted.

  1. Select the policy management tab to launch the self-service access policies.

    Screenshot of the Microsoft Purview governance portal with the leftmost menu open, and the Data policy page option highlighted.

  2. Open the self-service access policies tab.

    Screenshot of the Microsoft Purview governance portal open to the Data policy page with self-service access policies highlighted.

  3. Here you'll see all your policies. Select the policies that need to be deleted. The policies can be sorted and filtered by any of the displayed columns to improve your search.

    Screenshot showing the self-service access policies page with one policy selected.

  4. Select the delete button to delete all selected policies.

    Screenshot showing a self-service access policy selected, with the Delete button at the top of the page highlighted.

  5. Select OK on the confirmation dialog box to delete the policy. Refresh the screen to confirm that the policies have been deleted.

Next steps