799 questions with Azure Policy tags

Sort by: Updated
1 answer

Failed to register the assignments scopes to Microsoft.PolicyInsights provider with the following failure: The client 'VNAGARAJAN@ame.gbl' with object id '512febd4-7fa6-4c8b-be98-df79ea2ccc58' does not have authorization to perform action 'Microsoft.Polic

Failed to register the assignments scopes to Microsoft.PolicyInsights provider with the following failure: The client 'VNAGARAJAN@ame.gbl' with object id '512febd4-7fa6-4c8b-be98-df79ea2ccc58' does not have authorization to perform action…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2024-02-09T19:11:58.8566667+00:00
Venkataramana Nagarajan 0 Reputation points Microsoft Employee
commented 2024-02-15T07:04:55.64+00:00
SwathiDhanwada-MSFT 17,726 Reputation points
1 answer

Azure Policy Tag add tag if missing

I set a new policy for existing resources to add required tag if missing. scenario1: Resource1 have the following tags and value Tag name = Project Value = ProjSSO Tag name = Purpose Value = app login however if the the policy trigger I received an…

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,722 questions
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.
675 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2024-02-07T01:45:43.2433333+00:00
Reygie Prieto 0 Reputation points
answered 2024-02-12T07:51:54.2966667+00:00
Sumarigo-MSFT 43,806 Reputation points Microsoft Employee
1 answer

How to modify SecurityContact details through Azure Policy

I am unable to modify the SecurityContact details for a subscription in Azure Policy. I get the following error when saving the policy definition: Editing policy definition 'Email notification to subscription owner' in 'Tenant Root' failed. The policy…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 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,203 questions
asked 2024-01-24T23:54:11.1766667+00:00
WELCH, Matthew 0 Reputation points
commented 2024-02-12T04:38:47.9466667+00:00
SwathiDhanwada-MSFT 17,726 Reputation points
1 answer

How do I enforce using Azure policy a set of NSG rules every time NSG resource is getting deployed in our tenant?

I will need to define and assign a custom Azure policy that would deny creation of NSG resources if the NSG resource doesn't have a set of NSG rules in it (custom NSG rules). These rules will need to be identified using the NSG rule name and priority…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2024-02-05T17:31:02.4633333+00:00
gb2901 0 Reputation points
answered 2024-02-09T01:00:30.5833333+00:00
Ryan Hill 26,146 Reputation points Microsoft Employee
1 answer

How can I change just the name of Azure TAG by not touching the value. can this be achieved by Policy

How can I change just the name of Azure TAG by not touching the value. can this be achieved by Policy ?? Has anyone done this??

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2024-02-08T13:21:35.9633333+00:00
vaibhavshete 0 Reputation points
answered 2024-02-08T21:27:53.0466667+00:00
Luis Arias 5,046 Reputation points
2 answers

Enforcing Azure Policy for Convert Tags either being all lowercase or all uppercase

"parameters": { "toLowerOrToUpper": { "type": "String", "metadata": { "displayName": "Enforce Lowercase or Uppercase", "description": "If set to Lowercase then…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2022-01-12T15:06:36.143+00:00
Madhur Asati 1 Reputation point
answered 2024-02-08T13:28:51.5733333+00:00
Andreas Tratter 20 Reputation points
1 answer

How to exclude VM auto-shutdown from Tag policy

I recently created policies to enforce the creation of certain tags on new Azure resources. Now when I try to enable auto-shutdown on an existing VM that is otherwise compliant with the tag policy I get an error:  Schedule failed to update…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,201 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2023-09-18T20:30:28.51+00:00
Elliott Kurtz 5 Reputation points
commented 2024-02-06T17:49:01.7433333+00:00
Tylan Fowler 0 Reputation points
1 answer

Tags creation and limiting to certain tags only

How to set azure environment to use only specific tags and not allow to create any new tags. Also remove specific existing tag directly from all the VM. Any suggestions?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2023-01-10T12:53:55.66+00:00
Shekar Yenagandula 116 Reputation points
commented 2024-02-06T05:03:28.7766667+00:00
Lucy S 0 Reputation points
1 answer

Azure policy exemption creation using powershell

Trying to create policy exemptions using code as opposed to manually creating them. According to the MS link I have a policy initiative which consists of multiple sub policies. The first issue is that I cannot seem to get the correct -Name passed to…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
asked 2024-01-15T17:25:59.07+00:00
MrFlinstone 481 Reputation points
commented 2024-02-05T23:33:27.5433333+00:00
MrFlinstone 481 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.
799 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.
799 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,959 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.
799 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,726 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.
799 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.
799 questions
asked 2024-01-25T23:25:15.5766667+00:00
MrFlinstone 481 Reputation points
commented 2024-01-31T18:52:33.24+00:00
Oury Ba-MSFT 16,636 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.
799 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,665 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,681 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.
799 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,722 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 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.
799 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,431 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.
675 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 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,461 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,201 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 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,055 Reputation points Microsoft Vendor