Forum Discussion
david_milette
Mar 16, 2021Copper Contributor
Azure resource group tag requirement exception?
Good day to you all, we have a policy in place requiring all new resources groups created to have 6 tags added and populated. Currently we have an application allowing elastic cloud provisioning of a...
david_milette
Copper Contributor
Thx team the product when creating its resource group will create it with this format: MF_TESTRUN_RESOURCEGROUP_XXXXX_YYYYY where XXXXX is a random number and YYYY is the test scenario name requiring the resource group and assets. So I would suppose I'd need to create an exception around this template/mask. Is this feasible? Thx for all your help!
ibnmbodji
Mar 16, 2021Steel Contributor
The resource group should exist before creating the exemption so deployment will be blocked if the effect is set to deny .
You can either see another effect to avoid the deny
https://docs.microsoft.com/en-us/azure/governance/policy/concepts/effects
Or deploy resources in another subscription
You can either see another effect to avoid the deny
https://docs.microsoft.com/en-us/azure/governance/policy/concepts/effects
Or deploy resources in another subscription
- david_miletteMar 16, 2021Copper ContributorIndeed, that is what we are seing. Thx for the clarification.
- david_miletteMar 21, 2021Copper ContributorAs our app implementation was using the .Net API we managed to code this to finally work. Thx for all your assistance!
- ibnmbodjiMar 22, 2021Steel Contributor