895 questions with Azure Policy tags

Sort by: Updated
0 answers

How to disable feature of redirecting all HTTP traffic to HTTPS in azure Web App service using azure policy.

How to disable feature of redirecting all HTTP traffic to HTTPS in azure Web App service using azure policy. Our client is asking for a policy so that if anyone creates Function app or logic App services, by default HTTPS only will configured as off.…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,022 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,157 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-17T08:16:53.1866667+00:00
Godugu, Loka 0 Reputation points
4 answers One of the answers was accepted by the question author.

How to create a custom policy that shows who create the resources on Azure

Hello Everyone, I would like to get your help regarding to know what could be a json structure to create a Azure policy that will allow me to identify who create the Azure resources on a subscription. Thank you and help will be very helpfull.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-11T20:27:31.9466667+00:00
Cinthia Rodriguez 20 Reputation points
commented 2024-10-17T05:46:26.01+00:00
SadiqhAhmed-MSFT 45,516 Reputation points Microsoft Employee
1 answer

Custom Policy

Hello Everyone, I would like to get your help regarding to know what could be a json structure to create a Azure policy that will allow me to identify who create the Azure resources on a subscription. Thank you and help will be very helpful.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-15T17:37:32.1733333+00:00
Cinthia Rodriguez 20 Reputation points
commented 2024-10-17T05:44:10.45+00:00
Vinodh247 21,876 Reputation points
0 answers

Availability Sets are not supported in Azure Policy for deploying Azure Monitor Agent.

I have created a Initiative for deploying the Azure Monitor agent on a subscription. The agent is deployed on all the Windows vm's except on the machines in a availability set. The policy I'm using is "Configure Windows virtual machines to run Azure…

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,283 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,127 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-09-13T14:38:25.6466667+00:00
Radjin Ghisyawan 0 Reputation points
commented 2024-10-16T08:36:52.57+00:00
Pranay Reddy Madireddy 90 Reputation points Microsoft Vendor
0 answers

Cannot access "Custom deployment" blade in Azure - CORS issue

Every time I try and click "Deploy a custom resource" nothing happens in the Azure portal UI. In my browser's dev tools console I receive this error: "Access to XMLHttpRequest at…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-07T11:08:13.8533333+00:00
Benjamin Murphy 0 Reputation points
commented 2024-10-16T07:58:43.0333333+00:00
Ismail M 0 Reputation points
1 answer

Possible to create a policy that will automatically assign user/group RBAC roles based on tags

Is it possible to create a policy that will automatically assigned users/groups to RBAC roles for an RG based on the tags? If so, can you reference a template for this?

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.
812 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2021-09-28T14:48:24.733+00:00
darksaber 6 Reputation points
commented 2024-10-15T17:33:29.79+00:00
Jostyn Delgado Segura 0 Reputation points
0 answers

Azure policy does not back up persistent AVD VMs.

We're running into a weird issue. We have two Azure policies, one which adds a tag for any VM, the tag name is "backup" and it sets the value to [true]. Then a second policy is set to backup VMs with a given tag to an existing vault in the…

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,268 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-09-12T15:11:56.0933333+00:00
Richard Duane Wolford Jr 216 Reputation points
commented 2024-10-15T08:47:00.51+00:00
Pranay Reddy Madireddy 90 Reputation points Microsoft Vendor
0 answers

Effect of editing custom Azure Policy definition on existing assignments?

I am trying to understand how editing a custom Azure policy definition affects existing assignments but can't find any info on this. Our scenario: We have a custom policy definition for the deployment and configuration of the AMA client on Arc connected…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-14T15:13:09.56+00:00
Mark Poole (7805) 0 Reputation points
edited the question 2024-10-14T15:13:58.6666667+00:00
Mark Poole (7805) 0 Reputation points
0 answers

Allow-Access-Control-Origin Error on Web App

Hey everyone. I may be missing something simple, but here's one for you guys! Turning on App Gateway WAF Policy with a custom rule for geo location match. Essentially just to deny any traffic outside of select countries. Without this WAF Policy turned…

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,075 questions
Azure Web Application Firewall
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-09-24T19:45:46.7866667+00:00
Joseph Dutton 135 Reputation points
commented 2024-10-14T13:06:19.9433333+00:00
KapilAnanth-MSFT 45,861 Reputation points Microsoft Employee
0 answers

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.
895 questions
asked 2024-10-12T06:40:19.6266667+00:00
MS Techie 2,701 Reputation points
1 answer One of the answers was accepted by the question author.

Creating a custom Policy Using Azure Resource Selector

Is it possible to create a custom policy or utilize Azure policies to implement a deny resource type policy by using only the resource selector parameters, rather than specifying the actual parameters within the policy without the use of…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-08T20:26:44.4233333+00:00
Seeman, David 20 Reputation points
accepted 2024-10-11T13:48:47.5666667+00:00
Seeman, David 20 Reputation points
0 answers

Use Azure Policy at scale at an MSP

Hi there, I am starting to use Azure Lighthouse and Policy at a MSP. I want to use Azure Policy to manage all the delegated customer subscriptions. It seems that there is no built-in option to just push initiatives and policies to subscriptions in…

Azure Lighthouse
Azure Lighthouse
An Azure service that provides secure managed services and access control for partners and customers.
77 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-11T12:08:17.58+00:00
LaurentvanMastrigt-9976 20 Reputation points
edited the question 2024-10-11T12:08:36.7066667+00:00
LaurentvanMastrigt-9976 20 Reputation points
2 answers One of the answers was accepted by the question author.

Applying azure PCI DSS4 regulatory complaince policy for passwords

Hi, I am trying to assign PCI DSS4 Defender for cloud regulatory compliance policy for passwords - Audit Windows machines that allow re-use of the passwords after the specified number of unique passwords- where count is 24 Audit Windows machines that…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,387 questions
asked 2024-04-16T20:23:01.5533333+00:00
Ishan Saxena 40 Reputation points
accepted 2024-10-11T09:21:32.5033333+00:00
Ishan Saxena 40 Reputation points
1 answer One of the answers was accepted by the question author.

How to Enforce a Tag With a Predefined Value

I want an Azure policy in place that requires all new resources to have an "Environment" tag. With that tag I only want there to be three acceptable values: Test, Prod and Dev. If the value doesn't meet the predefined value, it fails…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-02-02T18:31:12.1933333+00:00
PhrygianMode 20 Reputation points
edited a comment 2024-10-10T15:21:27.91+00:00
Oleg Aronov 106 Reputation points
1 answer One of the answers was accepted by the question author.

Understanding Inconsistent data return for Azure Powershell command Get-AzPolicyDefinition

Hi, I'm encountering inconsistent data return for the Azure Powershell command Get-AzPolicyDefinition. I have a script that obtains compliance reports for Azure Policy Initiatives and I iterate over each compliance item to obtain more information. I'm…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,540 questions
asked 2024-08-07T03:23:24.6333333+00:00
Jaswanth G 20 Reputation points
edited the question 2024-10-10T06:39:13.5066667+00:00
AnuragSingh-MSFT 21,381 Reputation points
2 answers

Custom Policy for "Ensure Storage logging is Enabled for Blob Service for 'Read', 'Write', and 'Delete' requests" is not giving desired result

I have written below Custom Policy to check whether Audit logs are enabled or not for Blob Service. It is not working when i only enable the logs for blob service. My requirement is to check only for blob service. Not for whole Storage account. Below…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,872 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-08-05T11:01:09.9833333+00:00
shashank rastogi 0 Reputation points
commented 2024-10-10T05:14:15.7+00:00
Krzysztof Leśniczak 0 Reputation points
1 answer

Azure policy to deny public access when creating a storage account

I am trying to create a solution that will prevent the creation of storage account unless a private endpoint is in place. Its the section below I have used the built in policy definition in Azure, and I am still able to create a storage account with…

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,177 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-03T14:41:10.21+00:00
MrFlinstone 581 Reputation points
commented 2024-10-08T13:24:01.44+00:00
Hari Babu Vattepally 80 Reputation points Microsoft Vendor
1 answer

Azure resource graph query to get azure policies by category

Azure resource graph query to get all azure policies by category (in an azure tenant )

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-04T19:25:30.5966667+00:00
MS Techie 2,701 Reputation points
commented 2024-10-08T11:51:56.57+00:00
MS Techie 2,701 Reputation points
0 answers

Azure Policy Export to Terraform Pipeline

Hi, Is it possibe to export an Azure Policy configuration code (or a selection of definitions) for use in a Terraform pipeline? I see the Azure Export Tool, but not sure how valid or suitable it might…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-08T07:45:26.4333333+00:00
Dave O'Donohoe 170 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Policy NIST Alignment

Hi, We are aiming to align to the NIST SP 800-53 framework, using the Azure Policy built-in defintion set. Given there are over 700 policies within this defintion set, and its such a big decision, Im wondering could I get some guidance on how best to…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
895 questions
asked 2024-10-07T12:16:29.3266667+00:00
Dave O'Donohoe 170 Reputation points
commented 2024-10-08T07:42:22.66+00:00
Dave O'Donohoe 170 Reputation points