Tags creation and limiting to certain tags only

Shekar Yenagandula 116 Reputation points
2023-01-10T12:53:55.66+00:00

How to set azure environment to use only specific tags and not allow to create any new tags. Also remove specific existing tag directly from all the VM.

Any suggestions?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andrew Blumhardt 9,576 Reputation points Microsoft Employee
    2023-01-10T13:28:04.983+00:00

    You could enforce tags using Azure policy: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies

    You could limit permissions though this is not always feasible: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources

    You could monitor the Azure Activity log for the creation of new tags and respond in a variety of ways. Send yourself an email. Send the author an email describing the policy. Automate the removal of unauthorized tags using a logic app.