A company sends logs from all subscriptions to one Log Analytics workspace. Application teams already hold the Reader role on their own resource groups and must be able to query the logs of those resources only. The central operations team needs every log in the workspace. You need to minimize administrative effort. What should you recommend for the application teams?
Choose one.
Resource-context RBAC lets users query the logs of resources they can read, without explicit workspace permissions.
With the access control mode 'Use resource or workspace permissions' (the default), a user who has read access to an Azure resource inherits access to that resource's data in the workspace when querying in resource context. The application teams already have Reader, so nothing new needs to be assigned, while the operations team gets workspace-level access. 'Require workspace permissions' with Log Analytics Reader exposes all data. Table-level RBAC can't separate rows from different resources in the same table, and per-team workspaces add effort.
- Note that the boundary is 'their resources', not 'certain tables'.
- Resource-context RBAC follows the user's existing permissions on resources.
- Keep the default access mode so those permissions apply, and grant workspace access only to the central team.
Exam tip: 'Only the logs of my resources' = resource-context RBAC in the default access mode.
AZ-305 Logging and Monitoring Design: Log Analytics Workspaces, Log Routing, Alerts and Azure Monitor — the lesson that teaches this.