Skip to content

Commit bfc7124

Browse files
committed
Adding Permissions required section
1 parent 46e1c4f commit bfc7124

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ Retention policies define when to remove or archive data in a [Log Analytics wor
1313

1414
This article describes how to configure data retention and archiving.
1515

16-
## Permissions
16+
## Permissions required
1717

18-
To configure set data retention and archiving, you must have at least [contributor rights](../logs/manage-access.md#azure-rbac).
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.
1921

2022
## How retention and archiving work
2123

0 commit comments

Comments
 (0)