994 questions with Azure Policy tags

Sort by: Updated
0 answers

Unable to Redeem Azure for Students Subscription with GitHub Student Developer Pack

Hello, I am a verified member of the GitHub Student Developer Pack and trying to activate the Azure for Students offer. However, I am unable to redeem the subscription through the GitHub flow. I’ve already ensured that: My GitHub account is verified for…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-04-26T04:19:53.42+00:00
Vijay Maru 0 Reputation points
commented 2025-05-02T14:20:41.7866667+00:00
Srinivasa Reddy Jaggavarapu 700 Reputation points Microsoft External Staff
1 answer

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.
994 questions
asked 2025-03-26T14:00:40.9233333+00:00
Logan 0 Reputation points
commented 2025-05-02T13:17:57.5833333+00:00
Logan 0 Reputation points
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.
994 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 1,900 Reputation points Microsoft External Staff
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.
994 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 6,355 Reputation points Microsoft External Staff
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.
994 questions
asked 2025-04-21T14:21:23.0866667+00:00
Paulina Romanova 0 Reputation points
edited an answer 2025-04-30T15:55:30.6533333+00:00
Sina Salam 19,616 Reputation points
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.
994 questions
asked 2024-10-12T06:40:19.6266667+00:00
MS Techie 2,746 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.
994 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 6,355 Reputation points Microsoft External Staff
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.
994 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 700 Reputation points Microsoft External Staff
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.
994 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 1,750 Reputation points Microsoft External Staff
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.
994 questions
asked 2025-04-22T14:37:22.69+00:00
Simba Bryn Mahaja 80 Reputation points
commented 2025-04-22T16:08:12.7566667+00:00
Simba Bryn Mahaja 80 Reputation points
1 answer One of the answers was accepted by the question author.

Issue with Policy Enforcement on Storage Account Encryption

hello! I have an issue with the policy titled "Storage account encryption scopes should use customer-managed keys to encrypt data at rest" that I have enabled with "DENY" effect on my management group scope. Despite this policy…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-04-21T22:43:20.0733333+00:00
Daniel Omonemu 20 Reputation points
accepted 2025-04-22T07:31:21.7866667+00:00
Daniel Omonemu 20 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.
2,385 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2023-04-28T15:02:45.9833333+00:00
Tanul 1,291 Reputation points
commented 2025-04-16T17:27:38.2233333+00:00
Logan 0 Reputation points
1 answer

Access Denied / Locked out by Policy

I am the owner of subscription 4021f9f5-930c-4b71-a9b9-3b594634f5d3 and I accidentally applied an Azure Policy or access restriction that has revoked my own permissions, including access to create or view resource groups, policies, or role assignments. I…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-04-12T08:22:30.6+00:00
Sajith M 0 Reputation points
commented 2025-04-16T09:44:18.11+00:00
Naveena Patlolla 1,900 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Generate Azure Policy Compliance Report with Display Name and Description Mapped for Policy Definitions

I am able to export Azure Policy compliance data using the Get-AzPolicyState command, but the resulting CSV only includes Policy ID or Policy Definition ID, not the associated Policy Display Name or Policy Description. For ease of use and to better…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-04-08T04:47:13.3933333+00:00
Ankit Sharma 20 Reputation points
accepted 2025-04-14T15:27:06.1966667+00:00
Ankit Sharma 20 Reputation points
1 answer

Autho failure after delete scope from assignment

Accidentally deleted the scope from the assignment table, which has deleted the admin access from the account. Unable to create a service request within azure portal. Posting here for any luck

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-03-03T01:47:56.86+00:00
Joshua P 0 Reputation points
answered 2025-04-11T09:54:16.8066667+00:00
Ashok Gandhi Kotnana 6,355 Reputation points Microsoft External Staff
2 answers

Azure policy rule with condition of contains from a params array

Is it possible to create a policy rule that use the contains function but receive an array? for example: block ip 1.1.1.1/32 from the security rule if the array of the params is ["1.1.1.1", "2.2.22"]

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-04-08T13:37:31.4766667+00:00
DanaR 0 Reputation points
answered 2025-04-10T12:15:23.0933333+00:00
Alex Burlachenko 4,550 Reputation points
1 answer One of the answers was accepted by the question author.

Azure policy - IP Addresses range

Hi. I want to create an Azure Policy Definition that denies any NSG rule allowing inbound traffic from the source IP 1.2.3.4. Specifically, I want to block any NSG rule that permits traffic to any address range containing 1.2.3.4 using CIDR notation,…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-04-01T13:13:19.42+00:00
chen dgani 60 Reputation points
commented 2025-04-03T12:57:07.39+00:00
Naveena Patlolla 1,900 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Azure policy for role assignments

Hi @Stanislav Zhelyazkov , i have a question: { "mode": "All", "policyRule": { TypeScriptCopy "if" Report a concern

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-03-31T07:49:24.88+00:00
Ananya Shrivastava 20 Reputation points
edited a comment 2025-04-02T06:40:43.6766667+00:00
Vinod Pittala 1,750 Reputation points Microsoft External Staff
2 answers

Best Approach for Denying Public Network Access on Managed Disks

An Azure policy has been implemented to disable public network access in audit mode. After remediating non-compliant resources, guidance is needed on the best approach to transition to deny mode, especially considering there are hundreds of new disks…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-03-21T17:37:56.3566667+00:00
Ernest Aduboffour 20 Reputation points
commented 2025-04-02T03:32:15.49+00:00
Naveena Patlolla 1,900 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

azure policy - port range

Hi, I am working on creating an Azure policy rule to deny a specific port range. I came across this example policy: example And I would like to ask: In lines 55+56, how does the function that checks if false equals true ensure that the port range,…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
994 questions
asked 2025-04-01T01:26:00+00:00
chen dgani 60 Reputation points
commented 2025-04-01T09:54:35.4733333+00:00
chen dgani 60 Reputation points