Bengaluru, India
Mon - Fri : 09:00 - 17:00
Mon - Fri : 09:00 - 17:00

Govern Azure Environment through Azure policy!!

Govern Azure Environment through Azure policy!!

Azure Policy is a service in Azure that you use to create, assign, and manage policies. These policies enforce different rules over your resources, so those resources stay compliant with your corporate standards and service level agreements.  

Azure Policy does this by running evaluations of your resources and scanning for those not compliant with the policies you have created. 

No alt text provided for this image

The main advantages of Azure policy are in the areas of enforcement and compliance, scaling, and remediation. 

● Enforcement and compliance. Turn on built-in policies or build custom ones for all resource types. Real-time policy evaluation and enforcement. Periodic and on-demand compliance evaluation. 

● Apply policies at scale. Apply policies to a Management Group with control across your entire organization. Apply multiple policies and aggregate policy states with policy initiatives. Define an exclusion scope. 

● Remediation. Real-time remediation, and remediation on existing resources 

Elements of a Policy Definition: 

No alt text provided for this image

You use JSON to create a policy definition. The policy definition contains elements for:

  1. Display name 
  2. Description 
  3. Mode 
  4. Metadata 
  5. Parameters 
  6. Policy rule 
  • Logical evaluation 
  • Effect 

I realize that some of you prefer a visual explanation over a textual description, so I actually created a screen share video that goes over exactly how to create a parameterized policy.

Let’s learn more about policy definition elements & create a parameterized policy enforcing: 

  • Selective locations  
  • Selective VM SKU (Size) 
  • Selective resource type 

So without further adieu here is my video explanation:  

Closing Thoughts

Azure policy reduces the time needed to audit your environments by having all your compliance data in a single place. It set guardrails throughout your resources to help ensure cloud compliance, avoid misconfigurations, and practice consistent resource governance.

Join Discussion


  • turkce February 14, 2021 at 9:30 pm

    Very good write-up. I definitely appreciate this website. Continue the good work! Fifi Early Olen

  • turkce February 15, 2021 at 2:01 pm

    Hey there. I discovered your blog by the use of Google at the same time as searching for a related subject, your web site came up. It seems to be good. I have bookmarked it in my google bookmarks to visit then. Felicia Derek Inessa

  • turkce February 15, 2021 at 4:41 pm

    Wow! At last I got a blog from where I can actually take helpful facts regarding my study and knowledge.| Glyn Isaak Kathryne

  • turkce February 15, 2021 at 9:48 pm

    Really informative blog. Really looking forward to read more. Really Great. Melodie Shelby Kidd

Your Comment

Leave a Reply Now

Your email address will not be published. Required fields are marked *

11 − two =