968 questions with Azure Policy tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Require a tag on secret creation using Azure Policy

Background I want to make an Azure Policy that requires a tag to be created for every newly created secret. What I tried so far I made a new policy by copying the pre-existing Azure Policy Require a tag on resources and changed it to only apply to…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-25T16:23:05.8766667+00:00
Cameron Skaggs 20 Reputation points Microsoft Employee
commented 2025-03-07T23:50:21.7166667+00:00
Cameron Skaggs 20 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to convert existing API Management named values from Secret type to Key Vault reference

I have received Azure Advisor recommendations regarding API Management security enhancement, specifically stating that 'API Management secret named values should be stored in Azure Key Vault.' In our organization, we have multiple API Management…

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,389 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,319 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2024-12-18T18:41:41.4533333+00:00
Shamod Wijerathne 20 Reputation points
commented 2025-03-07T19:50:24.17+00:00
Evan Steiner 0 Reputation points
0 answers

Azure Resource Graph (ARG) Query to List All Failed Policy Deployments

When using Azure Policy, in particular a policy with Deploy If Not Exist (DINE), naturally the policy will try to remediate anything that doesn't align to the policy definition. However, if there is something that prevents the Policy Deployment from…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-07T17:18:21.59+00:00
Adin Ermie 0 Reputation points
commented 2025-03-06T22:00:40.84+00:00
Adin Ermie 0 Reputation points
1 answer

An activity log alert should exist for specific Security operations : Wrong category in the rules sec

Hello Team, I Have assigned policy CIS Microsoft Azure Foundations Benchmark v2.0.0 to my subscription. I have created alerts for the required policy but still it showing non compliance. Upon further researching it seems there is some bug in the Policy…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-21T16:30:50.9+00:00
Fahim Thanawala 5 Reputation points
commented 2025-03-06T07:11:01.2933333+00:00
Georgi Mihalev 5 Reputation points
1 answer

Why am I not able to access my azure account even I've used my college id?

I am applying for azure free $100 credit with student email but i am geting error I am trying to avail free azure account benefits as a part with my new student email id. But azure shows me that i am not eligible for azure free account. This is the first…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-03-04T04:09:32.99+00:00
Pravin Sekar 0 Reputation points
commented 2025-03-06T05:42:18.54+00:00
Rahul Podila 2,000 Reputation points Microsoft External Staff
2 answers

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.
968 questions
asked 2023-11-03T06:41:04.88+00:00
Martin Egli 120 Reputation points
commented 2025-03-05T14:29:33.9566667+00:00
Kislig Philipp (Centris AG) 0 Reputation points
1 answer

Azure: How to Duplicate a Policy Definition with Metadata?

0 I'm trying to duplicate a policy definition along with its metadata in Azure Policy, specifically for NIST SP 800 171. While I can do this through the portal UI, it doesn't duplicate the entire metadata. For instance, the original policy initiative for…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-03-03T15:55:32.2033333+00:00
Juan Alicea 0 Reputation points
answered 2025-03-05T07:35:04.3466667+00:00
Rahul Podila 2,000 Reputation points Microsoft External Staff
2 answers

Is it possible to enforce a Resource Naming Convention using a RegEx from an Azure Policy.

Is it possible to enforce a required resource naming convention using a RegEx from an Azure Policy.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2023-07-11T17:21:04.89+00:00
Sai Kiran Maturi 66 Reputation points
commented 2025-03-03T23:04:27.79+00:00
Mindika Dharmabandu 0 Reputation points
1 answer

I have created a azure policy to validate the name field for resource group objects

I have created a simple azure policy to validate the name field for azure resource group name when i validate the regex online it works fine { "mode": "All", "policyRule": { "if": { …

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2023-12-18T11:04:10.01+00:00
Ilfad Hasanovic 5 Reputation points
commented 2025-03-03T22:45:03.1866667+00:00
Mindika Dharmabandu 0 Reputation points
0 answers

Dynamic 'kid' Usage in Azure APIM Validate-JWT Policy

We currently use hardcoded exponent and modulus values within the

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,319 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2024-12-19T16:16:21.6433333+00:00
Aaron Bowe 0 Reputation points
commented 2025-02-27T08:15:18.72+00:00
sneha s 0 Reputation points
1 answer

I want to add a policy using Azure policy that ensures that anonymous users cannot login or see my Azure storage. I'm getting an error.

I want to add a policy using Azure policy that ensures that anonymous users cannot login or see my Azure storage. I'm getting an error when using the JSON script that help tells me to use.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-20T00:55:41.1+00:00
Scott Chamberlin 0 Reputation points
edited the question 2025-02-27T07:27:47.3+00:00
Naveena Patlolla 820 Reputation points Microsoft External Staff
1 answer

Unable to make the policy "An activity log alert should exist for specific administrative operations" compliance

Hello All, We have applied Azure CIS Azure Foundations v2.1.0 Regulatory Compliance on our subscription. Some of the policy among the initiative is not getting compliance, Below is the initiative for the NSG. I have created alert for the NSG creation…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-20T18:40:41.2833333+00:00
Fahim Thanawala 5 Reputation points
commented 2025-02-25T01:19:20.17+00:00
Rahul Podila 2,000 Reputation points Microsoft External Staff
0 answers

Azure policy to allow tags with certain names (value doesn't matter)

Hi everyone, I have a list of allowed tags, I don't mean the value that the tag contains but only the name of the tag. The purpose of this is that all the tenant's resources only have tags that are included in this list. Because of this I need a policy…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-19T08:57:35.4566667+00:00
Javier Garcia Maroto 0 Reputation points
commented 2025-02-25T00:09:13.5333333+00:00
Vinod Pittala 660 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

Assign policy to specific resource in azure

Hi, Can I assign a policy to a specific resource (Ex, Virtual Machine) in azure? or the policy assigns to a resource group that includes the resources.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2022-11-12T07:50:17.8+00:00
Mohamed Rizvi 21 Reputation points
edited a comment 2025-02-24T02:50:29.4266667+00:00
Steven Evers 0 Reputation points
3 answers

azure policy to check managedby property of resource group

hi, i m trying to create azure policy to make sure the mangedby property is set when creating resources group using terraform. { "field": "type", "equals": "Microsoft.Resources/resourceGroups/managedBy" } but…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2024-05-06T10:44:22.3766667+00:00
Dharmaraj 0 Reputation points
answered 2025-02-21T15:33:47.67+00:00
Dakir, Imade 20 Reputation points
1 answer One of the answers was accepted by the question author.

ISO27001:2013

Hello, I have noticed that my VMs running Linux Ubuntu 24.04 LTS are not compliant with the following policies: 7f89b1eb-583c-429a-8828-af049802c1d9 (Audit diagnostic setting for selected resource types) 32133ab0-ee4b-4b44-98d6-042180979d50 ([Preview]:…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,494 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-17T14:08:59.2933333+00:00
Vondál Matouš 25 Reputation points
edited the question 2025-02-19T01:20:04.21+00:00
Rahul Podila 2,000 Reputation points Microsoft External Staff
1 answer

how can i re -enable my disabled azure subscription?

To protect the security and privacy of your account, we perform routine audits of all Azure subscriptions. During one of these audits, we identified suspicious activity in your subscription that violates the Microsoft Acceptable Use Policy. We’ve…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-02-10T07:58:29.93+00:00
Ajay Singh 0 Reputation points
commented 2025-02-18T16:45:15.6233333+00:00
Pavan Minukuri 1,230 Reputation points Microsoft External Staff
1 answer

Configure Azure Activity logs to stream to specified Storage account from all subscriptions

I want to Configure Azure Activity logs to stream to specified Storage account from all subscriptions, is there any Built In policy available which can be leveraged to send activity logs from all subscription to a pre-defined storage account.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-01-21T15:16:39.2166667+00:00
Kaushik Ray 0 Reputation points
commented 2025-02-18T16:36:28.15+00:00
Pavan Minukuri 1,230 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

DORA Regulations and Azure CSP (Reseller)

Hi team - we have customers asking us for DORA addendums in their Azure contracts - as they are in our CSP model, that would fall under the MCA framework - what is the guidance from Microsoft on that, has the MCA been updated so that it is fit for…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2025-01-17T17:25:08.6266667+00:00
Cristian Nedelcu 20 Reputation points
answered 2025-02-18T16:07:52.77+00:00
Carl Vanden Eynde 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Private DNS zone with virtual network link on creation.

We currently have a hub and spoke setup with our Custom DNS on a single Subscription. what we want to do is if new DNS zones are created they get linked to the Custome DNS Vnet. Could this be done by azure policy

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
738 questions
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,654 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
968 questions
asked 2022-05-26T15:07:37.027+00:00
Matthew-5454 21 Reputation points
accepted 2025-02-17T17:46:56.69+00:00
Matthew-5454 21 Reputation points