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
In this tutorial, learn how to programmatically fetch access policies that were created in Microsoft Purview. With this you can troubleshoot the communication of policies between Microsoft Purview, where policies are created and updated, and the data sources on which these policies are enforced.
17
-
This guide will use Azure SQL Server as an example of data source.
16
+
In this tutorial, learn how to programmatically fetch access policies that were created in Microsoft Purview. With this you can troubleshoot the communication of policies between Microsoft Purview, where policies are created and updated, and the data sources, on which these policies are enforced.
18
17
19
18
To get the necessary context about Microsoft Purview policies, see concept guides listed in [next-steps](#next-steps).
20
19
20
+
This guide will use examples for Azure SQL Server as data source.
21
+
21
22
## Prerequisites
22
23
23
24
* If you don't have an Azure subscription, [create a free one](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio) before you begin.
@@ -61,7 +62,7 @@ where the path /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName
61
62
|500|Internal server error|Error|Backend service unavailable|Error data|
62
63
|503|Backend service unavailable|Error|Backend service unavailable|Error data|
63
64
64
-
### Example for Azure SQL Database (Azure SQL Server)
65
+
### Example for Azure SQL Server (Azure SQL Database)
65
66
66
67
##### Example parameters:
67
68
- Microsoft Purview account: relecloud-pv
@@ -125,7 +126,7 @@ Provide the syncToken you got from the prior pull in any successive delta pulls.
125
126
|500|Internal server error|Error|Backend service unavailable|Error data|
126
127
|503|Backend service unavailable|Error|Backend service unavailable|Error data|
127
128
128
-
### Example for Azure SQL Database (Azure SQL Server)
129
+
### Example for Azure SQL Server (Azure SQL Database)
In this example, the delta pull communicates that the policy has been deleted
177
+
per the "eventType": "Microsoft.Purview/PolicyElements/Delete".
178
+
179
+
175
180
## Policy constructs
176
181
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