Loading...

Azure Policy introduces user assigned MSI support, faster DINE deployment, and more!

Azure Policy introduces user assigned MSI support, faster DINE deployment, and more!

Azure Policy is excited to be rolling out some exciting new features! With these new capabilities, customers will be able to configure the deployment time of ARM templates via their DeployIfNotExists policies, use user-assigned MSI with their policy assignments, as well as group more policies in initiatives.  

 

Learn more about our new features below! 

 

User-Assigned Managed Identity 

 

Azure Policy now supports user-assigned managed identities! You cancreate a user-assigned managed identityand assign it to one or more of your policy assignments, offering easier management of managed identities and controlling access across the environment. 

 

Users can assign a user-assigned managed identity via REST API today, with Azure portal, PowerShell, and Azure CLI support coming shortly. 

 

 

 

{ "location": "westus2", "identity": { "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/testSubscription/resourceGroups/testResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi": {} } }, "properties": { "scope": "/subscriptions/testSubscription/resourcegroups/testResourceGroup", "displayName": "Test Policy User Assigned MSI", "enforcementMode": "Default", "policyDefinitionId": "/subscriptions/testSubscription/providers/Microsoft.Authorization/policyDefinitions/policyDefinitionId", "parameters": {} }, "name": "TestPolicyWithUserAssignedMsi" }

 

 

 

Here’s more information about user-assigned managed identities. 

 

DeployIfNotExist Latency Time 

 

AuditIfNotExists (AINE) and DeployIfNotExists (DINE) timing is now configurable within policy definitions!  

 

 

 

{ "if": { "field": "type", "equals": "ResourceProviderTestHost/TestResourceTypeTwo" }, "then": { "effect": "deployIfNotExists", "details": { "type": "ResourceProviderTestHost/TestResourceType", "evaluationDelay": "AfterProvisioning", "deployment": { "properties": { "template": { "$schema": https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#, "contentVersion": "1.0.0.0", "resources": [] }, "mode": "Incremental" } } } } }

 

 

 

Let’s say that you create and assign a DeployIfNotExists policy definition to your environment that deploys a private endpoint on any Azure Automation account. Now, instead of the private endpoint starting to deploy 10 minutes after creation of an Automation account, you can change the timing so the private endpoint deploys at the time that you choose, instead being limited to the default 10 minute delay.  

 

Instead, users are able to set one of the following options: 

  • AfterProvisioning 
  • AfterProvisioningSuccess 
  • AfterProvisioningFailure 
  • ISO 8601 duration between 0 and 360 minutes. 

 

AfterProvisioning values refer to the provisioning result of the resource that was evaluated in the policy rule's 'If’ condition. For example, AfterProvisioning runs after provisioning is complete, regardless of outcome.  

 

This does not affect remediation or existing resources as those evaluations always occur immediately. 

 

To use this new capability, you need to add the optional property ‘evaluationDelay’ to the details of your AINE and DINE policy definitions. 

 

To learn more about evaluationDelay, see DeployIfNotExists properties. 

 

Azure Policy initiative definitions increase support for 300 total parameter values 

 

Azure Policy initiative definitions enable users to group together related policy definitions to simplify assignments and management. Each initiative has an allowed number of parameters that users can define and apply to various policy definitions within a given initiative.  

 

Now, Azure Policy has increased the initiative parameter limit to 300.  This increases the amount of policy definitions that you can put in your initiative definitions and apply to your environment. Existing built-in initiative definitions also now have the capability to add more related policy definitions, becoming increasingly more robust and comprehensive. We hope that this update further improves ease of management of your environment with Azure Policy and provides a stronger compliance summary to our users.  

 

To learn more, see Azure Policy initiative definition structure. 

 

 

Published on:

Learn more
Azure Governance and Management Blog articles
Azure Governance and Management Blog articles

Azure Governance and Management Blog articles

Share post:

Related posts

Azure Landing Zones - Policy Refresh Q1 FY25

ALZ - Policy Refresh Q1 FY25 is here! As you may be aware, the ALZ team release cadence is now on quarterly basis to help customers and partne...

1 year ago

Custom Policy- Reusable Logs Templates

Reusable Templates for Sending Logs to Log Analytics Workspace   Challenge:   When it comes to developing custom policies for sendin...

1 year ago

Enhancements to Azure Monitor Baseline Alerts for Azure Landing Zones

Introduction   Welcome to our latest blog post where we dive into a number of exciting new key updates, highlight the new portal accelera...

1 year ago

Introducing the Azure Policy Community Repo

Introducing the Azure Policy Community Repo   What is the Azure Policy Community Repo? The Azure Policy Community Repo is a collaborativ...

2 years ago

General Availability: Vaulted backups for Azure Blob Storage

We are excited to announce the general availability of vaulted backups for Azure Blob Storage. Vaulted backups can help you achieve complete p...

2 years ago

Azure Update Manager to support CIS hardened images among other images

What’s coming in by end of July 2024: Azure Update Manager will add support for 35 CIS hardened images. This is the first time that Update Man...

2 years ago

Mastering your cloud journey: Essentials to Innovating, Migrating and Modernizing, on Azure

We are living during a time of rapid growth in AI technologies and seeing cloud complexity increase as a result of those advanced workloads, w...

2 years ago

Public Preview Announcement: Azure Policy Built-in Versioning

Welcome to a new era of policy management, where policy definitions are more agile, adaptable, and accessible than ever before! We are thrille...

2 years ago

Announcing Azure Monitoring Agent support in Azure Landing Zones

Introduction   Hello and welcome to another blog post about Azure Landing Zones, the best practice framework for accelerating your cloud...

2 years ago

Announcing the General Availability of Change Actor

Change Analysis  Identifying who made a change to your Azure resources and how the change was made just became easier! With Change Analys...

2 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.