Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1229167%22%20slang%3D%22en-US%22%3EAzure%20Policy%20Initiatives%20vs%20Azure%20Policies%3A%20When%20should%20I%20use%20one%20over%20the%20other%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1229167%22%20slang%3D%22en-US%22%3E%3CP%3EA%20question%20I%20often%20get%20asked%20is%20what%E2%80%99s%20the%20difference%20between%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fgovernance%2Fpolicy%2Foverview%3FWT.mc_id%3Ditopstalk-blog-phschmit%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20policy%3C%2FA%3E%20and%20Azure%20initiatives.%20Why%20would%20I%20use%20one%20over%20the%20other%3F%20In%20typical%20IT%20fashion%20I%20answer%20with%20%E2%80%9Cit%20depends%E2%80%9D.%20%26nbsp%3BThis%20blog%20will%20answer%20those%20questions%20by%20review%20both%20azure%20services%20and%20the%20use%20cases%20for%20each.%20Before%20we%20start%20answering%20the%20questions%20let%E2%80%99s%20briefly%20review%20what%20each%20service%20does.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-411230504%22%20id%3D%22toc-hId-411230504%22%20id%3D%22toc-hId-411230504%22%3EWhat%20is%20an%20Azure%20Policy%3F%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fgovernance%2Fpolicy%2Foverview%3FWT.mc_id%3Ditopstalk-blog-phschmit%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Policy%3C%2FA%3E%20is%20a%20service%20in%20Azure%20which%20allows%20you%20create%20polices%20which%20enforce%20and%20control%20the%20properties%20of%20a%20resource.%20When%20these%20policies%20are%20used%20they%20enforce%20different%20rules%20and%20effects%20over%20your%20resources%2C%20so%20those%20resources%20stay%20compliant%20with%20your%20IT%20governance%20standards.%3C%2FP%3E%0A%3CP%3ETo%20summarize%2C%20Azure%20policy%20is%20basically%203%20components%3B%20policy%20definition%20%2C%20assignment%20and%20parameters.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EPolicy%20definition%20is%20the%20conditions%20which%20you%20want%20controlled.%20There%20are%20built%20in%20definitions%20such%20as%20controlling%20what%20type%20of%20resources%20can%20be%20deployed%20to%20enforcing%20the%20use%20of%20tags%20on%20all%20resources.%3C%2FLI%3E%0A%3CLI%3EPolicy%20assignment%20is%20the%20scope%20of%20what%20the%20policy%20definition%20can%20take%20effect%20around.%20Scope%20of%20assignment%20can%20be%20assigned%20to%20a%20individual%2C%20resource%2C%20resource%20group%20or%20management%20group.%20Policy%20assignments%20are%20inherited%20by%20all%20child%20resources.%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EPolicy%20parameters%20are%20used%20by%20reducing%20the%20number%20of%20policy%20definitions%20you%20must%20create.%20Parameters%20would%20be%20used%20to%20define%20which%20type%20of%20VM%20SKUs%20to%20deploy%20or%20defining%20a%20specific%20location.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22azurepol.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F177008iD4A972EEBDC0FBD7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22azurepol.PNG%22%20alt%3D%22azurepol.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--1396223959%22%20id%3D%22toc-hId--1396223959%22%20id%3D%22toc-hId--1396223959%22%3EWhat%20is%20an%20Azure%20Initiative%3F%3C%2FH1%3E%0A%3CP%3EAn%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fgovernance%2Fpolicy%2Foverview%3FWT.mc_id%3Ditopstalk-blog-phschmit%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20initiative%3C%2FA%3E%20is%20a%20collection%20of%20Azure%20policy%20definitions%20that%20are%20grouped%20together%20towards%20a%20specific%20goal%20or%20purpose%20in%20mind.%20Azure%20initiatives%20simplify%20management%20of%20your%20policies%20by%20grouping%20a%20set%20of%20policies%20together%20as%20one%20single%20item.%20For%20example%2C%20you%20could%20use%20the%20PCI-DSS%20built-in%20initiative%20which%20has%20all%20the%20policy%20definitions%20that%20are%20centered%20around%20meeting%20PCI-DSS%20compliance.%3C%2FP%3E%0A%3CP%3ESimilar%20to%20Azure%20Policy%2C%20initiatives%20have%20definitions%20(%20a%20bunch%20of%20policies%20)%20%2C%20assignments%20and%20parameters.%20Once%20you%20determine%20the%20definitions%20that%20you%20want%2C%20you%20would%20assign%20the%20initiative%20to%20a%20scope%20so%20that%20it%20can%20be%20applied.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22azurein.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F177009i4BB8A6D483D71D8A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22azurein.PNG%22%20alt%3D%22azurein.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1091288874%22%20id%3D%22toc-hId-1091288874%22%20id%3D%22toc-hId-1091288874%22%3EWhich%20one%20should%20I%20use%3F%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20depends%E2%80%A6in%20certain%20scenarios%2C%20depending%20on%20your%20organizations%20requirement%20it%20maybe%20more%20appropriate%20to%20use%20a%20single%20policy.%20However%2C%20in%20most%20cases%20it%20would%20be%20best%20and%20probably%20easier%20to%20manage%20in%20the%20future%2C%20to%20start%20off%20using%20Azure%20initiatives.%20In%20fact%2C%20it%E2%80%99s%20recommend%20by%20the%20Product%20group%20to%20use%20initiatives%20even%20for%20a%20single%20policy%20because%20once%20an%20initiative%20is%20assigned%2Fcreated%20then%20any%20additional%20policy%20definitions%20added%20to%20the%20initiative%20become%20part%20of%20the%20assignment%20which%20would%20simply%20managing%20policies.%20For%20instance.%20instead%20of%20managing%2020%20separate%20policies%20for%20PCI-DSS%20compliance%2C%20you%20would%20only%20be%20managing%20the%20initiative%20because%20all%20those%20individuals%20polices%20are%20being%20evaluated%20and%20at%20the%20same%20time.%20Keep%20in%20mind%20if%20you%20have%20a%20need%20to%20ONLY%20have%201%20policy%20enforced%20and%20evaluated%20and%20don%E2%80%99t%20see%20it%20expanding%20it%E2%80%99s%20best%20to%20use%20a%20single%20policy.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1229167%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22azurepolicy.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F177007i005289AC628BA166%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22azurepolicy.PNG%22%20alt%3D%22azurepolicy.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDo%20you%20need%20to%20control%20and%20enforce%20resources%20to%20meet%20governance%20standards%3F%20Find%20out%20if%20you%20should%20use%20an%20Azure%20Policy%20or%20Azure%20initiatives.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1229167%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPhoummala%20Schmitt%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1230716%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Policy%20Initiatives%20vs%20Azure%20Policies%3A%20When%20should%20I%20use%20one%20over%20the%20other%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1230716%22%20slang%3D%22en-US%22%3E%3CP%3EReally%20nice.%20I%20will%20share%20this%20within%20my%20Group%3C%2FP%3E%3C%2FLINGO-BODY%3E

A question I often get asked is what’s the difference between Azure policy and Azure initiatives. Why would I use one over the other? In typical IT fashion I answer with “it depends”.  This blog will answer those questions by review both azure services and the use cases for each. Before we start answering the questions let’s briefly review what each service does.

 

What is an Azure Policy?

 

Azure Policy is a service in Azure which allows you create polices which enforce and control the properties of a resource. When these policies are used they enforce different rules and effects over your resources, so those resources stay compliant with your IT governance standards.

To summarize, Azure policy is basically 3 components; policy definition , assignment and parameters.

 

  • Policy definition is the conditions which you want controlled. There are built in definitions such as controlling what type of resources can be deployed to enforcing the use of tags on all resources.
  • Policy assignment is the scope of what the policy definition can take effect around. Scope of assignment can be assigned to a individual, resource, resource group or management group. Policy assignments are inherited by all child resources. 
  • Policy parameters are used by reducing the number of policy definitions you must create. Parameters would be used to define which type of VM SKUs to deploy or defining a specific location.

azurepol.PNG

 

What is an Azure Initiative?

An Azure initiative is a collection of Azure policy definitions that are grouped together towards a specific goal or purpose in mind. Azure initiatives simplify management of your policies by grouping a set of policies together as one single item. For example, you could use the PCI-DSS built-in initiative which has all the policy definitions that are centered around meeting PCI-DSS compliance.

Similar to Azure Policy, initiatives have definitions ( a bunch of policies ) , assignments and parameters. Once you determine the definitions that you want, you would assign the initiative to a scope so that it can be applied.

 

azurein.PNG

Which one should I use?

 

It depends…in certain scenarios, depending on your organizations requirement it maybe more appropriate to use a single policy. However, in most cases it would be best and probably easier to manage in the future, to start off using Azure initiatives. In fact, it’s recommend by the Product group to use initiatives even for a single policy because once an initiative is assigned/created then any additional policy definitions added to the initiative become part of the assignment which would simply managing policies. For instance. instead of managing 20 separate policies for PCI-DSS compliance, you would only be managing the initiative because all those individuals polices are being evaluated and at the same time. Keep in mind if you have a need to ONLY have 1 policy enforced and evaluated and don’t see it expanding it’s best to use a single policy.

 

1 Comment
Regular Visitor

Really nice. I will share this within my Group