How to define list of values for certain tag (not from ARM template but from Azure portal)?

Vágner Josef 21 Reputation points

I define policy to have tag Product on (newly created) resources.
How can I specify the list of available values (in Parameters tab at Tag Value field like Variant A, Variant B or Variant C) from Azure portal?

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

Accepted answer
  1. Monalla-MSFT 9,681 Reputation points

    @Vágner Josef - Thanks for reaching out.

    Currently a tag key can only have one string field as the value. Since it is only this one text field, a user cannot list multiple different strings in array, but you can append to the string if needed. So, for example: If it is "CostCode" as the Key, the value is "123". To add an additional value to this, you would need to have a value like "123,234".

    Product team is working on a new feature to allow an array of values to be created, but that will be later in 2022.

    Hope that helps.


    If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" so it can be beneficial to the community.

0 additional answers

Sort by: Most helpful