Skip to content

Commit 64dbe53

Browse files
committed
Adding Permissions required section
1 parent bfc7124 commit 64dbe53

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/azure-monitor/logs/data-retention-archive.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ This article describes how to configure data retention and archiving.
1515

1616
## Permissions required
1717

18-
- To configure data retention and archive policies, you must have `Microsoft.OperationalInsights/workspaces/write` and `microsoft.operationalinsights/workspaces/tables/write` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example.
19-
- To get the retention and archive policy by table, you need `microsoft.operationalinsights/workspaces/sharedkeys/action` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example.
20-
- To set data retention for classic Application Insights resources, you need `microsoft.insights/components/write` permissons, as provided by the [Application Insights Component Contributor built-in role](../../role-based-access-control/built-in-roles.md#application-insights-component-contributor), for example.
18+
| Action | Permissions required |
19+
|:-------|:---------------------|
20+
| Configure data retention and archive policies | `Microsoft.OperationalInsights/workspaces/write` and `microsoft.operationalinsights/workspaces/tables/write` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
21+
| Get the retention and archive policy by table | `microsoft.operationalinsights/workspaces/sharedkeys/action` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
22+
| Purge data from a Log Analytics workspace | `Microsoft.OperationalInsights/workspaces/purge/action` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
23+
| Set data retention for classic Application Insights resources | `microsoft.insights/components/write` permissons, as provided by the [Application Insights Component Contributor built-in role](../../role-based-access-control/built-in-roles.md#application-insights-component-contributor), for example |
24+
| Purge data from a Application Insights Classic resource | `Microsoft.Insights/components/purge/action` permissions, as provided by the [Application Insights Component Contributor built-in role](../../role-based-access-control/built-in-roles.md#application-insights-component-contributor), for example |
2125

2226
## How retention and archiving work
2327

0 commit comments

Comments
 (0)