815 questions with Azure Policy tags

Sort by: Updated
6 answers

The template deployment failed because of policy violation.

When I attempt to run through Exercise1 - Create a WordPress website hosted in Auzure, I encounter "The template deployment failed because of policy violation." while creating the WordPress Detailed: Information: "galleryItemId":…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2021-02-04T16:58:37.947+00:00
SVM 6 Reputation points
answered 2024-04-11T18:12:54.13+00:00
Joka 0 Reputation points
1 answer One of the answers was accepted by the question author.

How can I create a custom Azure policy to prevent/deny manual resource creation in resource groups while allowing automated creation through GitHub Actions or Azure Automation?

How can I create a custom Azure policy to restrict end users from manually creating resources in resource groups and prevent unauthorized peerings with existing VNets, while also allowing the creation of resources through GitHub action automation or…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,160 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-04-01T05:49:52.1833333+00:00
Priyanka Varma 60 Reputation points
accepted 2024-04-11T03:58:20.34+00:00
Priyanka Varma 60 Reputation points
2 answers

Looking for Kusto query or a azure policy where an alert should be generated when azure blob data action role permissions are assigned on a built in or custom role for a storage account.

{ "mode": "All", "policyType": "Custom", "displayName": "Audit Blob Data Action Role Permissions Assignments", "description": "Audits when roles with Azure Blob data…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-26T17:51:42.8933333+00:00
Sahith Thatipalli 40 Reputation points
commented 2024-04-10T07:32:19.22+00:00
AnuragSingh-MSFT 20,996 Reputation points
2 answers One of the answers was accepted by the question author.

Enabling periodic assessment automatically for the VM

After creating the VM, I should see that periodic assesment option to be enabled a when I navigate to update section. how it can be achieved?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
263 questions
asked 2024-03-30T06:29:25.4+00:00
Varma 1,250 Reputation points
accepted 2024-04-01T07:04:28.0466667+00:00
Varma 1,250 Reputation points
2 answers

How deny policy or rule inherits from Root Tenant to resource level

I am trying to understand how deny policy/rule works in terms of inheritance. If I create a deny policy of - "not able to create resources" at Root Tenant. Under the root tenant I have a management group IT and a Dev subscription under this…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-17T20:46:18.96+00:00
Nishith Suthar 0 Reputation points
commented 2024-04-01T06:44:18.4+00:00
SwathiDhanwada-MSFT 18,211 Reputation points
1 answer One of the answers was accepted by the question author.

How to lock the Vnet peerings like we lock the the resources in resource group once after we create them?

To prevent unauthorized peerings to other Vnets after creation, it's essential to lock the peerings to restrict access for other users from creating unnecessary peerings. How to do that? Can anyone help me out with this? Thanks.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,242 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
702 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-27T04:26:00.8033333+00:00
Priyanka Varma 60 Reputation points
accepted 2024-04-01T05:52:03.73+00:00
Priyanka Varma 60 Reputation points
0 answers

Azure policy is not working on App services

I have created azure policy for app service that do not assign any public IP and set default TLS 1.3 but still I can be able to create app services with default settings.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-27T12:58:15.2366667+00:00
Shivshankar sharma 0 Reputation points
commented 2024-03-27T23:33:33.9+00:00
guilherme rodrigues 240 Reputation points
8 answers

Exempt Azure policy for Users in specific AD group?

Hello, Is it possible to bypass Azure policy for specific AD users or AD groups while creating objects in AKS

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,936 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2023-04-28T15:02:45.9833333+00:00
Tanul 1,251 Reputation points
answered 2024-03-22T03:23:02.8966667+00:00
Konstantinos Passadis 17,376 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Why ceating private endpoint in existing key vault blocks the public access from all network as well as selected network fails?

In Key Vault, Customer firewall is set to public and some to selected network with list of IPs. As soon as we create private endpoint, all other previous connection with pubic/selected network fails. But based on below documentation, I would like…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,164 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
702 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2022-09-26T18:41:02.043+00:00
Dinesh Madhup 46 Reputation points Microsoft Employee
accepted 2024-03-21T00:28:13.5933333+00:00
Dinesh Madhup 46 Reputation points Microsoft Employee
2 answers

MicrosoftDNSAgent extension

Hello Team, I am planning install/deploy MicrosoftDNSAgent extension. I have already applied AMA policy with DCRs. now planning to choose unified method to deploy and configure MicrosoftDNSAgent extension by policy since AMA and scope specific DCR…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,936 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,405 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-01-30T13:34:19.3433333+00:00
Naresh Babu 135 Reputation points
answered 2024-03-20T10:12:05.58+00:00
Stellnberger Philipp 0 Reputation points
1 answer

Deny assignment for data plane actions

Can deny assignments be defined to block data plane actions (prevent deletion of blobs inside a storage account for example)? I know that Blueprints or Azure policy can provide some level of denial to delete actions it doesn't look like it covers data…

Azure Blueprints
Azure Blueprints
An Azure service that provides templates for quick, repeatable creation of fully governed cloud subscriptions.
70 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-03T13:55:16.23+00:00
AssafL 1 Reputation point
commented 2024-03-19T18:59:29.64+00:00
Monalla-MSFT 12,686 Reputation points
1 answer

Azure initiative for ISO 27001:2022

We have to implement ISO 27001:2022 at Azure Switzerlan. Is there an azure initiative for ISO 27001:2022? There is currently one for ISO27001:2013. Does anyone know what should be changed for 27001:2022?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2023-11-03T06:41:04.88+00:00
Martin Egli 110 Reputation points
commented 2024-03-19T12:56:59.58+00:00
BollaertIgor-0366 2 Reputation points
1 answer

While doing remediation in Azure policy assignment getting below error

While doing remediation in Azure policy getting error: Evaluation of DeployIfNotExists policy was unsuccessful. The policy assignment…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-18T17:58:12.0866667+00:00
Sourabh sourabh 0 Reputation points
answered 2024-03-19T04:56:57.5+00:00
AnuragSingh-MSFT 20,996 Reputation points
1 answer

Extracting resource compliance states | How to download data for resource compliance states in Azure Policies|

I have several Azure Policies, and from the portal If I go to the assignments and look at the policy I can get the compliance percentage and status of each resource (Compliant or not-compliant), However there is no way for me to download to the data to…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-12T17:32:17.7+00:00
prasannarajayya 0 Reputation points
commented 2024-03-18T17:25:37.42+00:00
Monalla-MSFT 12,686 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Policy for BlobServices

Hi, community! I'm using this policy in order to audit blob versioning: { "properties": { "displayName": "Custom: Configure your Storage account to enable blob versioning", "policyType":…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,558 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-15T12:26:44.2733333+00:00
Serhii Polhorodnyk 20 Reputation points
commented 2024-03-17T13:27:37.58+00:00
Serhii Polhorodnyk 20 Reputation points
2 answers

Anyone knows for sure if, in Azure Portal, they have controls / policies to implement / be controled by Azure, for the new version of ISO 27001:2022 ?

Hello, i need to know if we can add that kind of controls to be assessed by the Azure portal, instead of the ISO 27001:2013, that already has controls listed; is there a way of add / use the new version of ISO (ISO 27001:2022), within the Policy, inside…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-16T19:14:35.4766667+00:00
Pedro Costa - MixMove 40 Reputation points
answered 2024-03-16T19:58:27.2633333+00:00
Azar 20,680 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to run "az deployment mg create" on Tenant Root Group

Trying to deploy a management group structure via Bicep starting 1 level down from "Tenant Root Group". CLI command az deployment mg create needs to target the Tenant Root Group (which has the same ID as the Tenant ID as per…

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
702 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-12T03:36:40.1733333+00:00
Jose-Paolo Roldan 20 Reputation points
commented 2024-03-15T08:02:03.4766667+00:00
SwathiDhanwada-MSFT 18,211 Reputation points
2 answers

how to make azure policy definition script that limits the number of resources per resource group? how to make azure policy definition script that limits the number of resources per resource group?

I want to limit the number of resources per resource group. For example, I would like to limit the creation of a maximum of 2 virtual machines and a maximum of 1 DB per resource group. My questions are: Does an Azure Policy Definition that satisfies…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-01-21T15:52:02.56+00:00
elice-cloud-practice-dev 0 Reputation points
answered 2024-03-12T14:55:10.71+00:00
Tabut, Olivier 0 Reputation points
1 answer

After applying Azure policy for auto update for flagged VM its flagging

created new azure policy for VM automatic update on flagged vm but it still flagging. update name: "Microsoft .NET Core Security Update for January 2024" after update also it still showing old version only. how to auto update this issue using…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
asked 2024-03-12T06:57:00.2966667+00:00
Maazulla Khan (HCL TECHNOLOGIES CORPORATE SER) 0 Reputation points Microsoft Vendor
edited the question 2024-03-12T11:36:13.19+00:00
Ommi Naveen Kumar 195 Reputation points Microsoft Vendor
3 answers

Custom azure policy to enable automatic VM guest patching

I would like to enable Automatic VM guest patching using Azure Policy with DeployIfNotExist mode. I drafted a definition but it does not seems to work properly (it shows non compliant VM as compliant). { "mode": "All", …

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,405 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
815 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
263 questions
asked 2024-01-31T10:18:40.4+00:00
Yasmin, Fitri 266 Reputation points
answered 2024-03-10T12:56:55.3166667+00:00
Cristian SPIRIDON 4,471 Reputation points