1,019 questions with Azure Policy tags

Sort by: Updated
0 answers

Azure subscription disabled Microsoft Resource Block Applied[#SIR21265734]

Hi Azure support team, This morning we got an email from Azure with title Microsoft Resource Block Applied[#SIR21265734] alert us the security breach to my account. All permissions is revoked (readonly) which is great. That buy us time to reset users…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-26T14:49:23.18+00:00
Tuan Duong 0 Reputation points
commented 2025-05-28T08:50:38.4666667+00:00
Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
2 answers

Azure Policy to deploy VM application is success when run on our Resource group, but app is not installed

We are attempting to install software agents on our VM's in Azure (looking for something similar to aws systems manager and state manager) Azure Policy that has VM application defined on it runs fine and also completes with success, but application is…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2024-11-08T17:48:36.8+00:00
Slack 0 Reputation points
commented 2025-05-23T02:46:09.02+00:00
Ashok Gandhi Kotnana 10,430 Reputation points Microsoft External Staff Moderator
1 answer

Azure Policy to Block VM Snapshots and Backups for Specific Subscriptions

There are 10 subscriptions, each containing VMs. The goal is to block VM snapshots and backups from the Recovery Services Vault for 2 specific subscriptions. Assistance is needed to create a policy that achieves this without having to create separate…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-21T11:52:51.9933333+00:00
Pritesh Kamble 0 Reputation points
commented 2025-05-22T15:48:13.8666667+00:00
Alex Burlachenko 11,350 Reputation points
1 answer

Block creation of App service with certain kinds

I’m working on an Azure Policy to block the creation of App Services with the following kind values: app, app,container,windows, app,linux, and app,linux,container. { "properties": { "displayName": "AUDIT - Neerja - test…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-20T16:17:06.87+00:00
Narayanappa, Neerja 0 Reputation points
answered 2025-05-20T19:58:39.88+00:00
Vinod Pittala 4,335 Reputation points Microsoft External Staff Moderator
1 answer

I have Issue Creating Free Student Account

I Have A Student Email ID But i am not able to Create One

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-20T09:22:51.1866667+00:00
Subhash Kumar 0 Reputation points
answered 2025-05-20T12:34:26.6866667+00:00
Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
1 answer

Auto pay for free Azure account

Hi All, I recently got myself Azure free account which is valid for 12 months with limited credits and services. I paid 2 rupees from my Debit card but I received a msg from my bank saying that Auto-pay activated for INR 200000. I don't understand…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-15T20:49:00.6933333+00:00
Shivhare, Ayushi (Cognizant) 0 Reputation points
commented 2025-05-19T18:19:44.89+00:00
Srinivasa Reddy Jaggavarapu 1,560 Reputation points Microsoft External Staff Moderator
2 answers

Azure Policy & VM JIT - Do not allow Any as source

I am currently trying to prevent users from requesting Azure JIT VM access coming from the Source IP addresses "Any". According to this thread, https://learn.microsoft.com/en-us/answers/questions/846584/azure-vm-jit-do-not-allow-any-as-source ,…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,063 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,471 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2024-05-14T12:27:20.6233333+00:00
Jara Entren 35 Reputation points
commented 2025-05-19T15:13:04.48+00:00
kobulloc-MSFT 26,811 Reputation points Microsoft Employee Moderator
0 answers

How to Enforce Tagging Standards During Azure Subscription Creation

Issue Statement: There is a need to implement an Azure Policy that prevents the creation of Azure subscriptions if certain required tags are not provided during the creation process. However, it has been observed that Azure Policy does not support…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-15T11:15:15.6133333+00:00
Thangaraj Lakshmanan 185 Reputation points
commented 2025-05-19T08:36:00.12+00:00
Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
1 answer

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

I want to send all Activity logs from all subscriptions (with in my Managment group) to a specific storage account. Do we have any Built in policy which can be enforced at management group and propagated to all subscriptions ?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-01-21T13:00:08.1766667+00:00
Kaushik Ray 5 Reputation points
commented 2025-05-15T13:38:49.3966667+00:00
Stanislav Zhelyazkov 28,596 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Azure Policy whether can do someting when creating a new subscription

We want to do some thing for a new subscription when create it by azure policy. such as add a tag when create it , etc. I checked offical doc : https://docs.azure.cn/en-us/governance/policy/overview#resources-covered-by-azure-policy, it seems only…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-06T02:55:03.0033333+00:00
Gallatin 21V 206 Reputation points
accepted 2025-05-13T11:20:26.46+00:00
Gallatin 21V 206 Reputation points
1 answer

How can we prevent users from modifying subscription-level tags once they are created in Azure?

We want to enforce governance so that once tags (like Environment, CostCenter, etc.) are added to a subscription, no user—including subscription owners—can modify or delete them, unless explicitly allowed (e.g., by a central admin role). Is there a way…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-05-06T20:22:48.29+00:00
SrVish 20 Reputation points
commented 2025-05-12T21:16:18.86+00:00
Vinod Pittala 4,335 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Allow deployments only from Terraform using Azure Policy

Hi Team, Is it possible to block all deployments and allow it only from Terraform? I tried this but it didn't work. { "not": { "anyOf": [ { "field":…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-03-26T14:00:40.9233333+00:00
Logan 40 Reputation points
accepted 2025-05-09T08:25:43.07+00:00
Logan 40 Reputation points
1 answer

Troubleshooting Azure B2C MFA Integration with Application

I am setting up Azure B2C integration with our application. I want to enable two-factor authentication (MFA) where the user can choose between phone or email for the verification process. When I select MFA via phone and enter the code I receive, I am…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-04-21T14:21:23.0866667+00:00
Paulina Romanova 0 Reputation points
commented 2025-05-07T06:47:35.6433333+00:00
Vigneshwar Duvva 2,300 Reputation points Microsoft External Staff Moderator
0 answers

The policy assigned to the management group cannot take effect during the create subscription process. Is this the design?

We found that the policies assigned to the management group cannot take effect during the subscription creation process After the subscription is created, we can identify new subscriptions that do not comply through compliance and modify them through…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-04-29T08:40:21.69+00:00
txsun 0 Reputation points
edited the question 2025-05-02T08:29:15.3266667+00:00
Naveena Patlolla 3,850 Reputation points Microsoft External Staff Moderator
1 answer

Tenant and access blocked in the Azure portal

We have a sponsored subscription (given to NGOs), but it was recently blocked and Microsoft gave us a deadline to solve the problem and get everything back to normal. Lock details: • Details of the Block placed: Subscription Level Deny Assignment Block…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-04-28T11:38:55.87+00:00
PauloKennedy-7446 0 Reputation points
edited the question 2025-05-02T04:38:59.8266667+00:00
Ashok Gandhi Kotnana 10,430 Reputation points Microsoft External Staff Moderator
1 answer

Azure resource graph query to get all policy definition details which are assigned

Azure has lot of inbuilt policies and few are custom policies.i need an Azure resource graph query to get all policy definition details of only the policies which are assigned

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2024-10-12T06:40:19.6266667+00:00
MS Techie 2,751 Reputation points
commented 2025-04-30T05:58:29.8+00:00
Madhur Shukla 25 Reputation points Microsoft Employee
1 answer

Extract all the initiative (definition type) along with all the policy inside that initiative

Is there a way to extract all the initiative (definition type) along with all the policy inside that initiative? This could either be a separate script that outputs initiative and policies mapped against it or, if possible, integrated into the existing…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-04-14T15:26:42.4566667+00:00
Ankit Sharma 20 Reputation points
commented 2025-04-25T07:24:53.0566667+00:00
Ashok Gandhi Kotnana 10,430 Reputation points Microsoft External Staff Moderator
1 answer

how to fix "You must be in good standing" issue for azure

i can't sign in to my azure account. i have already given my student account for verification and it was verified successfully without any issue, but when i then get redirected to make the account on azure (sign up) , it asks for mobile number…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-04-19T04:22:36.8766667+00:00
Mohit Kumar 0 Reputation points
edited an answer 2025-04-24T01:30:34.57+00:00
Srinivasa Reddy Jaggavarapu 1,560 Reputation points Microsoft External Staff Moderator
1 answer

list of the custom Permission is required to implement the Azure policy at management group level

i would like to create the custom role to implement the azure policy at management group level please let me know the required permissions to add in the custom IAM Role

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-04-19T14:51:07.7266667+00:00
Rajesh S 36 Reputation points
commented 2025-04-23T07:39:07.2633333+00:00
Vinod Pittala 4,335 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

How do I rectify a disabled Azure Subscription?

My Azure Subscription 1 was disabled due to suspicious activity. To me, this was an error. How do I rectify this? Also, I can not access Support to create a Ticket to submit to the Security Team. Can you assist?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
asked 2025-04-22T14:37:22.69+00:00
Simba Bryn Mahaja 100 Reputation points
commented 2025-04-22T16:08:12.7566667+00:00
Simba Bryn Mahaja 100 Reputation points