Skip to content

Commit 968bb04

Browse files
committed
updated actions
1 parent 57e8f85 commit 968bb04

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

articles/azure-monitor/logs/manage-access.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,20 @@ To create a [custom role](../../role-based-access-control/custom-roles.md) that
313313

314314
:::image type="content" source="media/manage-access/manage-access-create-custom-role.png" alt-text="Screenshot that shows the Basics tab of the Create a custom role screen with the Custom role name and Description fields highlighted." lightbox="media/manage-access/manage-access-create-custom-role.png":::
315315

316-
1. Select the **JSON** tab > **Edit** and edit the `"actions"` section to include only `Microsoft.OperationalInsights/workspaces/query/read` and select **Save**.
316+
1. Select the **JSON** tab > **Edit**::
317+
318+
1. In the `"actions"` section, add:
317319

318-
:::image type="content" source="media/manage-access/manage-access-create-custom-role-json.png" alt-text="Screenshot that shows the JSON tab of the Create a custom role screen with the actions section of the JSON file highlighted." lightbox="media/manage-access/manage-access-create-custom-role-json.png":::
320+
- `Microsoft.OperationalInsights/workspaces/read`
321+
- `Microsoft.OperationalInsights/workspaces/query/read`
322+
- `Microsoft.OperationalInsights/workspaces/analytics/query/action`
323+
- `Microsoft.OperationalInsights/workspaces/search/action`
324+
325+
1. In the `"not actions"` section, add `Microsoft.OperationalInsights/workspaces/sharedKeys/read`.
319326

320-
1. Select **Review + Create** at the bottom of the screen, and then **Create** on the next page.
327+
:::image type="content" source="media/manage-access/manage-access-create-custom-role-json.png" alt-text="Screenshot that shows the JSON tab of the Create a custom role screen with the actions section of the JSON file highlighted." lightbox="media/manage-access/manage-access-create-custom-role-json.png":::
328+
329+
1. Select **Save** > **Review + Create** at the bottom of the screen, and then **Create** on the next page.
321330

322331
1. Assign your custom role to the relevant users or groups:
323332
1. Select **Access control (AIM)** > **Add** > **Add role assignment**.
13.4 KB
Loading

0 commit comments

Comments
 (0)