806 questions with Azure Policy tags

Sort by: Updated
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.
806 questions
asked 2024-02-02T18:31:12.1933333+00:00
PhrygianMode 20 Reputation points
accepted 2024-02-05T16:32:42.21+00:00
PhrygianMode 20 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Policy and App Services TLS

Hello, I'm puzzled on an Azure Policy to restrict TLS version on App Services. I set a new Azure Policy to deny deployment if minTlsVersion doesn't equal 1.2. For new deployment, it works fine. However, going back to the App Services General settings, if…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,015 questions
asked 2023-08-29T13:42:17.09+00:00
Ted 191 Reputation points
commented 2024-02-05T11:54:03.0633333+00:00
Ted 191 Reputation points
1 answer

Policy Compliance error - Current value must not be equal to the target value.

Hello All, I am deploying a policy to create an NSG rule. The policy does create a new rule, and there are no errors once assigned. But compliance fails with the error below. I am using the policy from the below…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-30T01:55:47.7666667+00:00
Madhu Rao 40 Reputation points
commented 2024-02-05T08:07:15.9066667+00:00
SwathiDhanwada-MSFT 17,881 Reputation points
1 answer One of the answers was accepted by the question author.

Can i create an Azure Policy definition that checks which Virtual Machines have Inventory enabled

Hello, I am looking to create an Azure Policy Definition that will check which Virtual Machines have Inventory enabled. Is this possible?? In the definition JSON, i have attempted the below... But cannot find what I should enter in place of the…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-11T17:55:40.0133333+00:00
Peter Casey 20 Reputation points
accepted 2024-02-01T16:02:07.03+00:00
Peter Casey 20 Reputation points
2 answers

Deny public access policy not working in Azure

I have used the built in Azure policy which stops public network access for sql server and sql database, the option for sql server doesnt give you the option to deny, however public access for SQL database has an option to deny. I assigned these 2…

Azure SQL Database
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-25T23:25:15.5766667+00:00
MrFlinstone 501 Reputation points
commented 2024-01-31T18:52:33.24+00:00
Oury Ba-MSFT 16,736 Reputation points Microsoft Employee
2 answers

Multiple Single-factor authentication failures from what seems to be a compromised users

I have noticed in the past month about 900 failed sign in's from what I guess are compromised usernames. They are all reporting as failed, Password in the cloud, password incorrect. So I guess these are all brute force attempts, they are recorded as…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,822 questions
asked 2022-11-29T16:54:45.093+00:00
Daoust, Eric 6 Reputation points
answered 2024-01-30T23:01:24.2966667+00:00
David Broggy 5,686 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Azure Policy Compliance error - Failed to register the assignments scopes to Microsoft.PolicyInsights provider

Hello, I can assign Azure policy without any issues. But when I click "Compliance," I get the error below. Thanks, in advance.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-30T00:15:52.6866667+00:00
Madhu Rao 40 Reputation points
accepted 2024-01-30T22:40:35.3133333+00:00
Madhu Rao 40 Reputation points
2 answers One of the answers was accepted by the question author.

How to create a custom policy to disable Azure Storage Account firewall option?

I want to disable the Azure Storage Account firewall option. Forcing traffic to use Private EndPoint. I have found a few policies, but it is not disabling the feature. I would like to disable the option that is underlined in red. Thanks in advance.

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.
2,747 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-11T00:27:33.5866667+00:00
Madhu Rao 40 Reputation points
accepted 2024-01-30T01:56:19.9666667+00:00
Madhu Rao 40 Reputation points
7 answers

Is there a way to exclude resource groups that contain the word databricks from policy assignment ?

Hi - We have a number of policies that check if diagnostic settings are created for resources. Since databricks uses a managed resource group, these policies always show non-compliant. Is there a way i could use a '*' in the policy definition to…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2022-01-25T18:55:43.17+00:00
Pookat, Sanal (MBHC 21) 26 Reputation points
edited the question 2024-01-29T10:33:25.67+00:00
AnuragSingh-MSFT 20,596 Reputation points
1 answer

Creating a custom Azure Policy definition

Hi everyone, I'm working on creating a custom Azure Policy. I need to allow a small group of users, let’s call them user A, B and C, to access a few specific Blob containers (in a storage account).  I don't want to allow the users directly. I want to…

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.
685 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-17T17:11:41.73+00:00
Marco 45 Reputation points
commented 2024-01-25T21:17:27.4366667+00:00
JamesTran-MSFT 36,476 Reputation points Microsoft Employee
0 answers

During VM creation, why is the RDP open to Internet rule bypassing NSG policy to deny inbound rule for 3389 for Source Addresses outside of our whitelist?

3389 is successfully blocked by policy on an NSG when a user tries to create an inbound allow rule outside of our whitelist of sourceAddressPrefix for 3389, or any range that includes it (including '*'). The problem is when deploying a VM, if the RDP…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,264 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-22T17:08:15.6333333+00:00
NN 0 Reputation points
commented 2024-01-24T04:17:30.4966667+00:00
v-vvellanki-MSFT 4,290 Reputation points Microsoft Vendor
0 answers

Creating a complex policy to cross-reference two array fields

Hi, I am looking for some advice on creating a complex policy which involves cross-referencing two fields of the same resource, each field being an array. A practical example I have in mind is checking if an Azure App Gateway has any public IP address…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-22T11:28:01.9166667+00:00
Brijunas, Martynas 0 Reputation points
commented 2024-01-22T14:26:46.77+00:00
tbgangav-MSFT 10,391 Reputation points
1 answer

AutoManage Windows Security Baseline for Azure Ad joined VMs

Hi All, Hope you're doing well! We are facing an issue while using Azure AutoManage Service with Azure AD Joined VMs. We have created Custom Profile in AutoManage, enabling Machine Configuration Feature with ApplyAndAutoCorrect Feature. We the applied…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2023-06-28T09:37:39.5566667+00:00
Nitin Gupta 0 Reputation points
edited the question 2024-01-18T17:11:17.4533333+00:00
OMMI NAVEEN KUMAR 195 Reputation points Microsoft Vendor
1 answer

Azure Policy: Inheriting a Tag and Its Value from Subscription to Resource Groups

Is it possible to create an Azure policy that can automatically inherit a tag and its value (no matter what the value are) from the subscription to the resource group? The tag is always the same, for instance, Application, but the value can change…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-05T12:37:51.27+00:00
Bombbe 1,611 Reputation points
commented 2024-01-18T04:46:45.6933333+00:00
SwathiDhanwada-MSFT 17,881 Reputation points
2 answers

How to identify Azure Data Lake Gen 2 inside Azure Policy

Hello I need to scope an Azure Policy on Azure Data Lake Gen2 to prevent http and disabling secure transfer Thanks in advance

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,366 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-03T09:43:39.1033333+00:00
Christophe Humbert 101 Reputation points
commented 2024-01-11T10:37:18.0733333+00:00
ShaikMaheer-MSFT 38,126 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Will Azure CIS 1.3 policy "App Service apps should have 'Client Certificates (Incoming client certificates)' enabled" be updated to accommodate the latest change of setting Client Cert mode to Ignore if HTTP v2.0 is used?

Due to the following change, we are not able to remediate the policy "App Service apps should have 'Client Certificates (Incoming client certificates)' enabled" anymore (because the Client Cert Mode is enforced to set to Ignore now when HTTP…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2023-06-08T16:48:48.79+00:00
Sharawat, Neetu 35 Reputation points
accepted 2024-01-09T11:19:43.72+00:00
Sharawat, Neetu 35 Reputation points
1 answer One of the answers was accepted by the question author.

Bastion only Custom Role based access

There is a requirement to allow RDP access to a limited set of VMs on Azure; we use Bastion for admins; but for these particular users I ONLY want to give them the ability to use Bastion on the portal and then RDP to the servers. My question is; which…

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
243 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,198 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2024-01-02T19:14:25.9666667+00:00
Razzi29 331 Reputation points
accepted 2024-01-04T11:39:41.9733333+00:00
Razzi29 331 Reputation points
1 answer

Help with modifying built-in policy "Deploy Diagnostic Settings for Key Vault to Event Hub" so that it forwards logs Event Hub based on key vault's region

With the limitation of Event Hub namespaces only being able to receive logs from resources in the same region, trying avoid creating an assignment for every region we operate, and instead, simplify it in one custom policy assignment, so that the logs…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2023-12-27T22:12:26.9733333+00:00
Nick Morris 0 Reputation points
answered 2024-01-04T08:03:06.5433333+00:00
Luke Murray 10,611 Reputation points MVP
1 answer

Azure Resouse Diagnostic Settings

Hello Community, I have a azure resource with diagnostic settings to foword logs to a workspace. I also want logs to go in 3rd party application. Should I need to configure diagnostic settings with in the azure resource or if I configure it in…

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,862 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2023-12-20T21:40:38.4+00:00
Vik Lu 0 Reputation points
commented 2024-01-03T08:43:07.8666667+00:00
AnuragSingh-MSFT 20,596 Reputation points
0 answers

issue with built-in Azure Policy "Configure Azure Activity logs to stream to specified Log Analytics workspace"

hi, trying to deploy the policy Configure Azure Activity logs to stream to specified Log Analytics workspace https://www.azadvertizer.net/azpolicyadvertizer/2465583e-4e78-4c15-b6be-a36cbc7c8b0f.html Altough, the parametree is configured to use…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
806 questions
asked 2023-12-14T15:14:34.7233333+00:00
AdamBudzinskiAZA-0329 91 Reputation points
commented 2023-12-28T04:12:43.78+00:00
SwathiDhanwada-MSFT 17,881 Reputation points