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: support/azure/azure-monitor/activity-logs/config-export/troubleshoot-permission-errors-in-activity-log-configuration.md
+17-19Lines changed: 17 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,37 +7,35 @@ ms.service: azure-monitor
7
7
ms.custom: I can’t configure export of Activity Logs
8
8
---
9
9
10
-
# Troubleshoot Permission Errors in Activity Log Configuration
10
+
# Troubleshoot permission errors in Activity Log configuration
11
11
12
-
When configuring the Azure Activity Log to export to Log Analytics, users may encounter permission errors. This issue typically arises due to insufficient permissions assigned to the custom role. Understanding the root cause and applying the correct permissions can resolve this problem efficiently.
12
+
Users might experience permission errors when they configure the Azure Activity Log to export to Log Analytics. This issue typically occurs because insufficient permissions are assigned to the custom role. This article helps you determine the root cause of the errors and apply the correct permissions to resolve the issue efficiently.
13
13
14
-
## Common Issues and Solutions
14
+
## Common issues and solutions
15
15
16
16
-**Authorization Failed**: This error indicates that the user does not have the necessary permissions to perform the action. Verify that the correct permissions are assigned and that the scope is set correctly.
17
17
18
-
### Step-by-Step Instructions to Resolve Permission Errors
18
+
### Instructions to resolve permission errors
19
19
20
-
1.**Verify Role Assignments**:
21
-
- Navigate to **Azure Portal**.
22
-
- Go to **Subscriptions** and select the relevant subscription.
23
-
- Click on **Access Control (IAM)**and then**Role assignments**.
24
-
- Ensure that the custom role is assigned to the account responsible for creating the diagnostic settings.
20
+
**Step 1: Verify role assignments**
21
+
1. Navigate to **Azure Portal**.
22
+
1. Go to **Subscriptions** and select the relevant subscription.
23
+
1. Select **Access Control (IAM)**>**Role assignments**.
24
+
1. Make sure that the custom role is assigned to the account that's responsible for creating the diagnostic settings.
25
25
26
-
2.**Assign Necessary Permissions**:
27
-
- Duplicate the **Log Analytics Contributor** role.
28
-
- Remove any unnecessary permissions.
29
-
- Ensure the **Microsoft.Insights/diagnosticSettings/write** permission is included.
26
+
**Step 2: Assign necessary permissions**
27
+
1. Duplicate the **Log Analytics Contributor** role.
28
+
1. Remove any unnecessary permissions.
29
+
1. Make sure that the **Microsoft.Insights/diagnosticSettings/write** permission is included.
30
30
31
-
3.**Set Scope Appropriately**:
32
-
- Ensure the scope is set to the **subscription level** rather than the resource group level.
31
+
**Step 3: Set scope appropriately** - Make sure that the scope is set to the **subscription level** instead of the resource group level.
33
32
34
-
4.**Update Credentials**:
35
-
- If access was recently granted, update the credentials to reflect the changes.
33
+
**Step 4: Update credentials** - If access was recently granted, update the credentials to reflect the changes.
0 commit comments