Azure policy to allow tags with certain names (value doesn't matter)

Javier Garcia Maroto 0 Reputation points
2025-02-19T08:57:35.4566667+00:00

Hi everyone,

I have a list of allowed tags, I don't mean the value that the tag contains but only the name of the tag. The purpose of this is that all the tenant's resources only have tags that are included in this list.

Because of this I need a policy that checks that during the process of creating a new resource only tags that are among those allowed are being introduced. I don't know if this is possible to manage with a policy or if there is another way.

Thanks to all and greetings.

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

Your answer

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