azure tags on existing resources

prasantc 491 Reputation points

is it possible to implement azure policy to apply different tags value for different resource groups and resources in the resources group with Azure policy? Or it would be better to apply with PowerShell scripting as the policy does not allow the variable value that changes for each resource group.?

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

Accepted answer
  1. JimmySalian-2011 36,696 Reputation points

    Hi ,

    Yes it is possible to use Azure Policy tags for RG and resources, however you will need to multiple policies if you have diff RGs deployed and resources will inherit from the top level Resources group and apply the tags - check few examples over here -

    Hope this helps.



    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.

    0 comments No comments

0 additional answers

Sort by: Most helpful