You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/purview/troubleshoot-policy-distribution.md
+71-2Lines changed: 71 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ To get the necessary context about Microsoft Purview policies, see concept guide
28
28
## Overview
29
29
There are two ways to fetch access policies from Microsoft Purview
30
30
- Full pull: Provides a complete set of policies for a particular data resource scope.
31
-
- Delta pull: Provides an incremental view of policies, that is, what has changed since the last pull request, whether that one was a full pull or a delta pull.
31
+
- Delta pull: Provides an incremental view of policies, that is, what has changed since the last pull request, whether that one was a full pull or a delta pull. A full pull is required prior to the first delta pull.
32
32
33
33
Microsoft Purview policy model is described using [JSON syntax](https://datatracker.ietf.org/doc/html/rfc8259)
34
34
@@ -49,9 +49,9 @@ GET {{endpoint}}/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam
|404|Not found|Error|The request path is invalid or not registered|Error data|
55
55
|500|Internal server error|Error|Backend service unavailable|Error data|
56
56
|503|Backend service unavailable|Error|Backend service unavailable|Error data|
57
57
@@ -95,6 +95,75 @@ GET https://relecloud-pv.purview.azure.com/pds/subscriptions/b285630c-8185-456b-
95
95
}
96
96
```
97
97
98
+
## Delta pull
99
+
100
+
### Request
101
+
To fetch policies via full pull, send a `GET` request to /policyEvents as follows:
102
+
103
+
```
104
+
GET {{endpoint}}/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProvider}/{resourceType}/{resourceName}/policyEvents?api-version={apiVersion}&syncToken={syncToken}
105
+
```
106
+
107
+
Provide the syncToken you got from the prior pull in any successive delta pulls.
There are 3 top-level policy constructs used within the full pull (/policyElements) and delta pull (/policyEvents) requests: PolicySet, Policy and AttributeRule.
0 commit comments