My query validation fail with a permission error when creating alerts in azure

Kai Lessi001 25 Reputation points
2025-10-13T18:19:26.8433333+00:00

When I am creating alert rule query getting error related to query permission, please help me.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
{count} vote

Answer accepted by question author
  1. Suchitra Suregaunkar 1,885 Reputation points Microsoft External Staff Moderator
    2025-10-14T00:44:50.7366667+00:00

    Hello Kai Lessi001,

    If you receive error message related to permissions when creating or editing your alert rule query, make sure you have permissions to read the target resource logs.

    • Permissions required to read logs in workspace-context access mode: Microsoft.OperationalInsights/workspaces/query/read.
    • Permissions required to read logs in resource-context access mode (including workspace-based Application Insights resource): Microsoft.Insights/logs/tableName/read.

    See Manage access to Log Analytics workspaces to learn more about permissions.

    Thanks,

    Suchitra.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.