Relative Content

Tag Archive for azureazure-policy

Create Custom Azure Policy – DeployIfNoExists effect to add specific tag (Environment:Cloud) to newly created resources

We have a requirement to create Azure policy with DeployIfNoExists effect with specific tag for newly created resources. But, I`m kind of stuck, I have tried to rewrite modify built in one policy – no luck, have tried to rewrite existing builtin DeployIfNoExists policies, again no luck, getting errors over and over again.
Could you provide some guidance or maybe similar samples on how can I achieve it.
Would be very grateful!

Create Custom Azure Policy – DeployIfNoExists effect to add specific tag (Environment:Cloud) to newly created resources

We have a requirement to create Azure policy with DeployIfNoExists effect with specific tag for newly created resources. But, I`m kind of stuck, I have tried to rewrite modify built in one policy – no luck, have tried to rewrite existing builtin DeployIfNoExists policies, again no luck, getting errors over and over again.
Could you provide some guidance or maybe similar samples on how can I achieve it.
Would be very grateful!

Create Custom Azure Policy – DeployIfNoExists effect to add specific tag (Environment:Cloud) to newly created resources

We have a requirement to create Azure policy with DeployIfNoExists effect with specific tag for newly created resources. But, I`m kind of stuck, I have tried to rewrite modify built in one policy – no luck, have tried to rewrite existing builtin DeployIfNoExists policies, again no luck, getting errors over and over again.
Could you provide some guidance or maybe similar samples on how can I achieve it.
Would be very grateful!

Create Custom Azure Policy – DeployIfNoExists effect to add specific tag (Environment:Cloud) to newly created resources

We have a requirement to create Azure policy with DeployIfNoExists effect with specific tag for newly created resources. But, I`m kind of stuck, I have tried to rewrite modify built in one policy – no luck, have tried to rewrite existing builtin DeployIfNoExists policies, again no luck, getting errors over and over again.
Could you provide some guidance or maybe similar samples on how can I achieve it.
Would be very grateful!

Assign Azure Policy’s depending on the subscription tag

I have a question and unfortunately I can’t find anything explicit in the MS documentation.
We would like to use the Azure Policies to determine the location of the resource etc. via the subscription tag. For example, we have a tag on the subscription:

Programmatically triggering azure policy remediation

I have got azure policy auto remediation in place, however the process is a manual one where the remediation tasks needs to be manually triggered. I was wondering if there is a way to programmatically trigger the running of the remediation job.

Azure Policy for Tag Tampering prevention

A current challenge in a Subscription Vending environment, is that we rely on Tags on Subscriptions for certain data to be fed back in to other systems, for instance for CMDB entries or cost calculation.