Skip to content

Commit c7604d0

Browse files
committed
how to troubleshoot policies
1 parent 61a621c commit c7604d0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

articles/purview/troubleshoot-policy-distribution.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,16 @@ The policy distribution endpoint can be constructed from the Microsoft Purview a
3838
## Full pull
3939

4040
### Request
41-
To fetch policies via full pull, send a `GET` request to /policyElements as follows:
41+
To fetch policies for a data source via full pull, send a `GET` request to /policyElements as follows:
4242

4343
```
4444
GET {{endpoint}}/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProvider}/{resourceType}/{resourceName}/policyelements?api-version={apiVersion}
4545
```
4646

47-
The path /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProvider}/{resourceType}/{resourceName} matches the resource ID of the data source, which can be found under the properties for the data source in Azure portal.
47+
where the path /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProvider}/{resourceType}/{resourceName} matches the resource ID for the data source.
48+
49+
>[!Tip]
50+
> The resource ID can be found under the properties for the data source in Azure portal.
4851
4952

5053
### Response status codes
@@ -61,8 +64,8 @@ The path /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/prov
6164
### Example for Azure SQL Database (Azure SQL Server)
6265

6366
##### Example parameters:
64-
- Microsoft Purview account = relecloud-pv
65-
- Resource ID: /subscriptions/b285630c-8185-456b-80ae-97296561303e/resourceGroups/Finance-rg/providers/Microsoft.Sql/servers/relecloud-sql-srv1
67+
- Microsoft Purview account: relecloud-pv
68+
- Data source Resource ID: /subscriptions/b285630c-8185-456b-80ae-97296561303e/resourceGroups/Finance-rg/providers/Microsoft.Sql/servers/relecloud-sql-srv1
6669

6770
##### Example request:
6871
```
@@ -125,9 +128,9 @@ Provide the syncToken you got from the prior pull in any successive delta pulls.
125128
### Example for Azure SQL Database (Azure SQL Server)
126129

127130
##### Example parameters:
128-
- Microsoft Purview account = relecloud-pv
129-
- Resource ID: /subscriptions/b285630c-8185-456b-80ae-97296561303e/resourceGroups/Finance-rg/providers/Microsoft.Sql/servers/relecloud-sql-srv1
130-
- syncToken = 820:0
131+
- Microsoft Purview account: relecloud-pv
132+
- Data source Resource ID: /subscriptions/b285630c-8185-456b-80ae-97296561303e/resourceGroups/Finance-rg/providers/Microsoft.Sql/servers/relecloud-sql-srv1
133+
- syncToken: 820:0
131134

132135
##### Example request:
133136
```

0 commit comments

Comments
 (0)