Reputation: 559
I'm unable to setup alerts in my Application Insights instance on Azure from portal. This is the error I receive:
Failed to create alert rule 'XWRANotification'. The client '[email protected]' with object id 'xxx-3525-48c6-97ad-xxx' does not have authorization to perform action 'microsoft.insights/scheduledqueryrules/write' over scope '/subscriptions/xxx-d404-4748-a3e8-09afe0bbea49/resourceGroups/RG-XWRA-01/providers/microsoft.insights/scheduledqueryrules/XWRANotification' or the scope is invalid. If access was recently granted, please refresh your credentials..
I've following access configured for my user on this App Insights instance:
Upvotes: 0
Views: 1248
Reputation: 16498
Based on our comments, in addition to the 3 roles you listed, you need another Contributor
role for the resource group which you will create your action group in.
If you already have this role, you should be able to setup the alerts. As it suggested: If access was recently granted, please refresh your credentials.
Upvotes: 1