Skip to content

Commit 85184fc

Browse files
committed
Converting tutorials to how-to
1 parent 5ef847b commit 85184fc

21 files changed

+129
-40
lines changed

articles/purview/.openpublishing.redirection.purview.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@
144144
"source_path_from_root": "/articles/purview/scan-insights.md",
145145
"redirect_url": "/azure/purview/how-to-monitor-scan-runs",
146146
"redirect_document_id": true
147+
},
148+
{
149+
"source_path_from_root": "/articles/purview/tutorial-data-owner-policies-resource-group.md",
150+
"redirect_url": "/azure/purview/how-to-data-owner-policies-resource-group",
151+
"redirect_document_id": true
147152
}
148153
]
149154
}

articles/purview/concept-data-owner-policies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ A policy published to a data source could contain references to an asset belongi
9999
## Next steps
100100
Check the tutorials on how to create policies in Azure Purview that work on specific data systems such as Azure Storage:
101101

102-
* [Access provisioning by data owner to Azure Storage datasets](tutorial-data-owner-policies-storage.md)
103-
* [Enable Azure Purview data owner policies on all data sources in a subscription or a resource group](./tutorial-data-owner-policies-resource-group.md)
102+
* [Access provisioning by data owner to Azure Storage datasets](how-to-data-owner-policies-storage.md)
103+
* [Enable Azure Purview data owner policies on all data sources in a subscription or a resource group](./how-to-data-owner-policies-resource-group.md)

articles/purview/concept-self-service-data-access-policy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This article helps you understand Azure Purview Self-service data access policy.
1818
1919
## Important limitations
2020

21-
The self-service data access policy is only supported when the prerequisites mentioned in [data use governance](./tutorial-data-owner-policies-storage.md) are satisfied.
21+
The self-service data access policy is only supported when the prerequisites mentioned in [data use governance](./how-to-enable-data-use-governance.md#prerequisites) are satisfied.
2222

2323
## Overview
2424

@@ -44,12 +44,12 @@ With self-service data access workflow, data consumers can not only find data as
4444

4545
A default self-service data access workflow template is provided with every Azure Purview account.The default template can be amended to add more approvers and/or set the approver's email address. For more details refer [Create and enable self-service data access workflow](./how-to-workflow-self-service-data-access-hybrid.md).
4646

47-
Whenever a data consumer requests access to a dataset, the notification is sent to the workflow approver(s). The approver(s) can view the request and approve it either from Azure purview portal or from within the email notification. When the request is approved, a policy is auto-generated and applied against the respective data source. Self-service data access policy gets auto-generated only if the data source is registered for **data use governance**. The pre-requisites mentioned within the [data use governance](./tutorial-data-owner-policies-storage.md) have to be satisfied.
47+
Whenever a data consumer requests access to a dataset, the notification is sent to the workflow approver(s). The approver(s) can view the request and approve it either from Azure purview portal or from within the email notification. When the request is approved, a policy is auto-generated and applied against the respective data source. Self-service data access policy gets auto-generated only if the data source is registered for **data use governance**. The pre-requisites mentioned within the [data use governance](./how-to-enable-data-use-governance.md#prerequisites) have to be satisfied.
4848

4949
## Next steps
5050

5151
If you would like to preview these features in your environment, follow the link below.
52-
- [Enable data use governance](./tutorial-data-owner-policies-storage.md)
52+
- [Enable data use governance](./how-to-enable-data-use-governance.md#prerequisites)
5353
- [create self-service data access workflow](./how-to-workflow-self-service-data-access-hybrid.md)
5454
- [working with policies at file level](https://techcommunity.microsoft.com/t5/azure-purview-blog/data-policy-features-accessing-data-when-file-level-permission/ba-p/3102166)
5555
- [working with policies at folder level](https://techcommunity.microsoft.com/t5/azure-purview-blog/data-policy-features-accessing-data-when-folder-level-permission/ba-p/3109583)

articles/purview/tutorial-data-owner-policies-resource-group.md renamed to articles/purview/how-to-data-owner-policies-resource-group.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,18 @@ author: inward-eye
55
ms.author: vlrodrig
66
ms.service: purview
77
ms.subservice: purview-data-policies
8-
ms.topic: tutorial
8+
ms.topic: how-to
99
ms.date: 3/14/2022
1010
ms.custom:
1111
---
1212

13-
# Tutorial: Resource group and subscription access provisioning by data owner (preview)
13+
# Resource group and subscription access provisioning by data owner (preview)
1414
[!INCLUDE [feature-in-preview](includes/feature-in-preview.md)]
1515

16-
This tutorial describes how a data owner can leverage Azure Purview to enable access to ALL data sources in a subscription or a resource group. This can be achieved through a single policy statement, and will cover all existing data sources, as well as data sources that are created afterwards. However, at this point, only the following data sources are supported:
16+
This article describes how a data owner can leverage Azure Purview to enable access to ALL data sources in a subscription or a resource group. This can be achieved through a single policy statement, and will cover all existing data sources, as well as data sources that are created afterwards. However, at this point, only the following data sources are supported:
1717
- Blob storage
1818
- Azure Data Lake Storage (ADLS) Gen2
1919

20-
In this tutorial, you learn how to:
21-
> [!div class="checklist"]
22-
> * Prerequisites
23-
> * Configure permissions
24-
> * Register a data asset for Data use governance
25-
> * Create and publish a policy
26-
2720
## Prerequisites
2821
[!INCLUDE [Access policies generic pre-requisites](./includes/access-policies-prerequisites-generic.md)]
2922

@@ -39,7 +32,7 @@ The subscription or resource group needs to be registered with Azure Purview to
3932

4033
Follow this link to [Enable the resource group or subscription for access policies](./how-to-enable-data-use-governance.md) in Azure Purview by setting the **Data use governance** toggle to **Enabled**, as shown in the picture.
4134

42-
![Image shows how to register a resource group or subscription for policy.](./media/tutorial-data-owner-policies-resource-group/register-resource-group-for-policy.png)
35+
![Image shows how to register a resource group or subscription for policy.](./media/how-to-data-owner-policies-resource-group/register-resource-group-for-policy.png)
4336

4437
## Create and publish a data owner policy
4538
Execute the steps in the [data-owner policy authoring tutorial](how-to-data-owner-policy-authoring-generic.md) to create and publish a policy similar to the example shown in the image: a policy that provides security group *sg-Finance* *modify* access to resource group *finance-rg*:
@@ -56,9 +49,9 @@ Execute the steps in the [data-owner policy authoring tutorial](how-to-data-owne
5649
The limit for Azure Purview policies that can be enforced by Storage accounts is 100MB per subscription, which roughly equates to 5000 policies.
5750

5851
## Next steps
59-
Check blog, demo and related tutorials
52+
Check blog, demo and related tutorials:
6053

6154
* [Concepts for Azure Purview data owner policies](./concept-data-owner-policies.md)
62-
* [Data owner policies on an Azure Storage account](./tutorial-data-owner-policies-storage.md)
55+
* [Data owner policies on an Azure Storage account](./how-to-data-owner-policies-storage.md)
6356
* [Blog: resource group-level governance can significantly reduce effort](https://techcommunity.microsoft.com/t5/azure-purview-blog/data-policy-features-resource-group-level-governance-can/ba-p/3096314)
6457
* [Demo of data owner access policies for Azure Storage](/video/media/8ce7c554-0d48-430f-8f63-edf94946947c/purview-policy-storage-dataowner-scenario_mid.mp4)
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
title: Access provisioning by data owner to Azure Storage datasets
3+
description: Step-by-step guide showing how data owners can create access policies to datasets in Azure Storage
4+
author: inward-eye
5+
ms.author: vlrodrig
6+
ms.service: purview
7+
ms.subservice: purview-data-policies
8+
ms.topic: how-to
9+
ms.date: 03/14/2022
10+
ms.custom:
11+
---
12+
13+
# Access provisioning by data owner to Azure Storage datasets (preview)
14+
15+
[!INCLUDE [feature-in-preview](includes/feature-in-preview.md)]
16+
17+
This article describes how a data owner can use Azure Purview to enable access to datasets in Azure Storage. At this point, only the following data sources are supported:
18+
- Blob storage
19+
- Azure Data Lake Storage (ADLS) Gen2
20+
21+
## Prerequisites
22+
[!INCLUDE [Access policies generic pre-requisites](./includes/access-policies-prerequisites-generic.md)]
23+
24+
[!INCLUDE [Azure Storage specific pre-requisites](./includes/access-policies-prerequisites-storage.md)]
25+
26+
## Configuration
27+
[!INCLUDE [Access policies generic configuration](./includes/access-policies-configuration-generic.md)]
28+
29+
### Register the data sources in Azure Purview for Data use governance
30+
Register and scan each Storage account with Azure Purview to later define access policies. You can follow these guides:
31+
32+
- [Register and scan Azure Storage Blob - Azure Purview](register-scan-azure-blob-storage-source.md)
33+
34+
- [Register and scan Azure Data Lake Storage (ADLS) Gen2 - Azure Purview](register-scan-adls-gen2.md)
35+
36+
Follow this link to [Enable the data source for access policies](./how-to-enable-data-use-governance.md) in Azure Purview by setting the **Data use governance** toggle to **Enabled**, as shown in the picture.
37+
38+
![Image shows how to register a data source for policy.](./media/how-to-data-owner-policies-storage/register-data-source-for-policy-storage.png)
39+
40+
## Create and publish a data owner policy
41+
Execute the steps in the [data-owner policy authoring tutorial](how-to-data-owner-policy-authoring-generic.md) to create and publish a policy similar to the example shown in the image: a policy that provides group *Contoso Team* *read* access to Storage account *marketinglake1*:
42+
43+
![Image shows a sample data owner policy giving access to an Azure Storage account.](./media/how-to-data-owner-policies-storage/data-owner-policy-example-storage.png)
44+
45+
46+
>[!Important]
47+
> - Publish is a background operation. It can take up to **2 hours** for the changes to be reflected in Storage account(s).
48+
49+
50+
## Additional information
51+
- Policy statements set below container level on a Storage account are supported. If no access has been provided at Storage account level or container level, then the App that requests the data must execute a direct access by providing a fully qualified name to the data object. If the App attempts to crawl down the hierarchy starting from the Storage account or Container, and there is no access at that level, the request will fail. The following documents show examples of how to do perform a direct access. See also blogs in the *Next steps* section of this tutorial.
52+
- [*abfs* for ADLS Gen2](../hdinsight/hdinsight-hadoop-use-data-lake-storage-gen2.md#access-files-from-the-cluster)
53+
- [*az storage blob download* for Blob Storage](../storage/blobs/storage-quickstart-blobs-cli.md#download-a-blob)
54+
- Creating a policy at Storage account level will enable the Subjects to access system containers e.g., *$logs*. If this is undesired, first scan the data source(s) and then create finer-grained policies for each (i.e., at container or sub-container level).
55+
56+
57+
### Limits
58+
- The limit for Azure Purview policies that can be enforced by Storage accounts is 100MB per subscription, which roughly equates to 5000 policies.
59+
60+
### Known issues
61+
62+
> [!Warning]
63+
> **Known issues** related to Policy creation
64+
> - Do not create policy statements based on Azure Purview resource sets. Even if displayed in Azure Purview policy authoring UI, they are not yet enforced. Learn more about [resource sets](concept-resource-sets.md).
65+
66+
### Policy action mapping
67+
68+
This section contains a reference of how actions in Azure Purview data policies map to specific actions in Azure Storage.
69+
70+
| **Azure Purview policy action** | **Data source specific actions** |
71+
|---------------------------|-----------------------------------------------------------------------------------------|
72+
|||
73+
| *Read* |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/read |
74+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read |
75+
|||
76+
| *Modify* |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read |
77+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write |
78+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action |
79+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/blobs/move/action |
80+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete |
81+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/read |
82+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/write |
83+
| |<sub>Microsoft.Storage/storageAccounts/blobServices/containers/delete |
84+
|||
85+
86+
87+
## Next steps
88+
Check blog, demo and related tutorials:
89+
90+
* [Demo of access policy for Azure Storage](/video/media/8ce7c554-0d48-430f-8f63-edf94946947c/purview-policy-storage-dataowner-scenario_mid.mp4)
91+
* [Concepts for Azure Purview data owner policies](./concept-data-owner-policies.md)
92+
* [Enable Azure Purview data owner policies on all data sources in a subscription or a resource group](./how-to-data-owner-policies-resource-group.md)
93+
* [Blog: What's New in Azure Purview at Microsoft Ignite 2021](https://techcommunity.microsoft.com/t5/azure-purview/what-s-new-in-azure-purview-at-microsoft-ignite-2021/ba-p/2915954)
94+
* [Blog: Accessing data when folder level permission is granted](https://techcommunity.microsoft.com/t5/azure-purview-blog/data-policy-features-accessing-data-when-folder-level-permission/ba-p/3109583)
95+
* [Blog: Accessing data when file level permission is granted](https://techcommunity.microsoft.com/t5/azure-purview-blog/data-policy-features-accessing-data-when-file-level-permission/ba-p/3102166)

articles/purview/how-to-data-owner-policy-authoring-generic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,5 @@ Steps to update or delete a policy in Azure Purview are as follows.
125125

126126
For specific guides on creating policies, you can follow these tutorials:
127127

128-
- [Enable Azure Purview data owner policies on all data sources in a subscription or a resource group](./tutorial-data-owner-policies-resource-group.md)
129-
- [Enable Azure Purview data owner policies on an Azure Storage account](./tutorial-data-owner-policies-storage.md)
128+
- [Enable Azure Purview data owner policies on all data sources in a subscription or a resource group](./how-to-data-owner-policies-resource-group.md)
129+
- [Enable Azure Purview data owner policies on an Azure Storage account](./how-to-data-owner-policies-storage.md)

articles/purview/how-to-delete-self-service-data-access-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This guide describes how to delete self-service data access policies that have b
2222
Self-service policies must exist for them to be deleted. Refer to the articles below to create
2323
self-service policies
2424

25-
- [Enable Data Use Governance](./tutorial-data-owner-policies-storage.md)
25+
- [Enable Data Use Governance](./how-to-enable-data-use-governance.md)
2626
- [Create a self-service data access workflow](./how-to-workflow-self-service-data-access-hybrid.md)
2727
- [Approve self-service data access request](how-to-workflow-manage-requests-approvals.md)
2828

articles/purview/how-to-enable-data-use-governance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ To disable data use governance for a source, resource group, or subscription, a
8080
## Next steps
8181

8282
- [Create data owner policies for your resources](how-to-data-owner-policy-authoring-generic.md)
83-
- [Enable Azure Purview data owner policies on all data sources in a subscription or a resource group](./tutorial-data-owner-policies-resource-group.md)
84-
- [Enable Azure Purview data owner policies on an Azure Storage account](./tutorial-data-owner-policies-storage.md)
83+
- [Enable Azure Purview data owner policies on all data sources in a subscription or a resource group](./how-to-data-owner-policies-resource-group.md)
84+
- [Enable Azure Purview data owner policies on an Azure Storage account](./how-to-data-owner-policies-storage.md)

articles/purview/how-to-view-self-service-data-access-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This guide describes how to view self-service data access policies that have bee
2222
Self-service policies must exist for them to be viewed. Refer to the articles below to create
2323
self-service policies
2424

25-
- [Enable Data Use Governance](./tutorial-data-owner-policies-storage.md)
25+
- [Enable Data Use Governance](./how-to-enable-data-use-governance.md)
2626
- [Create a self-service data access workflow](./how-to-workflow-self-service-data-access-hybrid.md)
2727
- [Approve self-service data access request](how-to-workflow-manage-requests-approvals.md)
2828

articles/purview/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ landingContent:
176176
- linkListType: tutorial
177177
links:
178178
- text: Data owner policies for Azure Storage
179-
url: tutorial-data-owner-policies-storage.md
179+
url: how-to-data-owner-policies-storage.md
180180
- text: Data owner policies on resource groups or subscriptions
181-
url: tutorial-data-owner-policies-resource-group.md
181+
url: how-to-data-owner-policies-resource-group.md

0 commit comments

Comments
 (0)