Hi ,
This is a weird behaviour with this specific resource on azure, here you have 2 workaround options:
- Recreate the alert rule with the tags that you want (big impact)
- Export the arm template modify and redeploy
For the second option you can go to export template and copy the template and save as a json file : e.g. alert.json
Make the modification required in tags section and redeploy with :
#If you are not login yet login with
az login
# execute here from az login
az deployment group create \
--resource-group <your resource group of alert>\
--template-file alert.json
That arm deployment update the tag, isn't the more nice solution , but it works.
Cheers,
Luis Arias
If the information helped address your question, please Accept the answer.