796 questions with Azure Policy tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Custom azure policy for vm selection using notlike for tags

Hello, I am debugging azure policy and still get wrong compliance status. For example I have two azure arc VM with tags: ClientCode: ggg and Environment: dev ClientCode: hhh and Environment: acc My policy should pick up that servers as compliant,…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2023-01-22T19:16:21.0666667+00:00
Kestutis Murauskas 20 Reputation points
edited an answer 2024-03-01T16:36:56.86+00:00
oui nbvbert 0 Reputation points
2 answers

How to Implement Network Policy to Restrict Network Access to Azure Resources Based on IP Addresses?

Hello, I’m looking for guidance on how to automatically restrict network inbound and outbound traffic to all Azure resources. Specifically, I want to ensure that only users with certain IP addresses can access the endpoints. The challenge is that I’m not…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-05T13:23:16.5266667+00:00
Radu Ifrim 20 Reputation points
edited the question 2024-03-01T05:05:11.5066667+00:00
KapilAnanth-MSFT 35,086 Reputation points Microsoft Employee
3 answers

Azure Policy DeployIfNotExists is not adding diagnostic setting configuration for event hub automatically

Two initiatives with multiple policies have been assigned at the management group level for every type of resource that can have a diagnostic setting to send log to the event hub. One initiative is for custom policies and the other is for built-in…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-15T17:12:21.8766667+00:00
Narayan, Ram 5 Reputation points
answered 2024-02-29T09:49:29.6966667+00:00
AnuragSingh-MSFT 20,016 Reputation points
2 answers

How can I find Azure Policy or Blueprints to apply for HITRUST

I am having a difficult time finding the pre-built set of Azure Policy or Azure Blueprints that correspond to HITRUST? There are a lot of articles in MS Learn but none that give instructions on how to actually deploy. Could anyone advise on where to…

Azure Blueprints
Azure Blueprints
An Azure service that provides templates for quick, repeatable creation of fully governed cloud subscriptions.
70 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-25T16:52:38.6366667+00:00
rocketfish2000 0 Reputation points
commented 2024-02-29T03:45:30.86+00:00
SwathiDhanwada-MSFT 17,556 Reputation points
2 answers

MS Azure - Grant permission to assign Reader role

I need the following set up: Owners of a resource group (who might not be owners of the subscription) should have the ability to assign any role to any user. A custom role should be created. Members assigned to this custom role should only have the…

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.
671 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2023-06-02T07:38:20.43+00:00
Moritz Sohns 0 Reputation points
answered 2024-02-28T05:11:59.8866667+00:00
Mahmoud A. ATALLAH 191 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to create remediation tasks ( with deploy if not exists) effect . I have contributor ,resource policy contributor . requirement is to create remediation task to push Kubernetes events to eventhub. facing permissions issue

resource identity does not have the necessary permissions to create deployment - Policy deployment fails when I run remediation task

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.
1,859 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-15T12:06:21.6066667+00:00
Vignesh Kumar R 20 Reputation points
commented 2024-02-27T04:07:18.55+00:00
SwathiDhanwada-MSFT 17,556 Reputation points
1 answer

Azure policy how to remove/define the other category

We have assigned a policy to our subscription, at the moment the chart states 3 categories compliant non-compliant other The other category is somewhat confusing, is it possible to change this such that a policy control is either compliant,…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-01-08T12:30:49.46+00:00
MrFlinstone 481 Reputation points
commented 2024-02-26T14:39:58+00:00
Monalla-MSFT 11,641 Reputation points
1 answer

Reporting Azure VM with Extensions + Applications running?

Using PowerShell or any built-in Azure Policy reporting, How can I get the report for any newly deployed Azure Virtual Machine with no specific software running from Virtual Machine | Settings | Extensions + Applications | VM Applications ? Thank you,

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,148 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,071 questions
asked 2024-02-13T04:00:58.02+00:00
EnterpriseArchitect 4,741 Reputation points
edited the question 2024-02-23T19:31:57.6833333+00:00
JamesTran-MSFT 36,376 Reputation points Microsoft Employee
1 answer

creating policy for VMs

I want to apply perodic assement enabled using azure policy which option I should choose in resource type to select virtual machines. microsfot.classic.compute virtual machines OR microsoft.compute.virtual machine? which one? 2. and after applying…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-21T11:26:51.41+00:00
Varma 1,140 Reputation points
commented 2024-02-23T11:23:57.15+00:00
AnuragSingh-MSFT 20,016 Reputation points
1 answer One of the answers was accepted by the question author.

How to exclude the untaggable resources from the enforcement tag policy

We have current tag policy to enforce certain tags on the management group level. however, we would like to create exemption policy to exclude any untaggable Azure resource, eg Solution, Azure DevOps Organization, etc. How can we add it in the…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-20T03:06:24.72+00:00
Sun, Scott 20 Reputation points
commented 2024-02-23T02:59:17.77+00:00
SwathiDhanwada-MSFT 17,556 Reputation points
3 answers One of the answers was accepted by the question author.

How to enforce a Tag value on an optional Tag

hello, I want to create an Azure Policy to define the value of a tag, but the tag itself should be optional and not mandatory. Does anybody know if this is possible?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-12T15:37:04.9466667+00:00
Andreas Tratter 20 Reputation points
accepted 2024-02-20T08:17:03.3266667+00:00
Andreas Tratter 20 Reputation points
1 answer One of the answers was accepted by the question author.

Using a VM applications and Azure Policy to deploy applications

I have setup a Storage account, AZ Computer Gallery, VM application version and VM application definition without issue. I have uploaded the software and was able to test the install. My issue is when trying to use the deployIfNotExists(DINE) it will…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-01-24T18:26:07.24+00:00
M T 50 Reputation points
accepted 2024-02-19T19:49:32.05+00:00
M T 50 Reputation points
2 answers

Creating Policies in Azure

How to create a Policy to Inherit the tags from Resource Group to Resources? How to create a Policy to allow only listed tag values?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-17T17:32:31.91+00:00
Dhanalakshmi 20 Reputation points
edited an answer 2024-02-17T22:38:17.2466667+00:00
Sina Salam 3,801 Reputation points
2 answers One of the answers was accepted by the question author.

what happen if i upgrade to pay as you go?

what happen if i upgrade to pay as you go but i also have 200$ free credit. im still able to use 200$ free credit after i upgrade to pay as you go, or it will charge to my bank?

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,046 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2022-08-31T22:56:56.83+00:00
chy 26 Reputation points
commented 2024-02-16T22:40:54.1166667+00:00
Bhalaji Gunasekaran 0 Reputation points
2 answers

How can we setup azure alert if deny action is recorded on azure policy? Is that possible only using log analytics?

How can we setup azure alert if deny action is recorded on azure policy? Is that possible only using log analytics? Do we have easy way to setup those alerts so that we can get email instantly if any deny action performed

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,805 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 questions
asked 2024-02-07T02:35:40.59+00:00
Techtester 0 Reputation points
commented 2024-02-16T06:11:35.89+00:00
SwathiDhanwada-MSFT 17,556 Reputation points
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.
796 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,556 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,703 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.
671 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
796 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,801 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.
796 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,200 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,556 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.
796 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 25,826 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.
796 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 4,796 Reputation points