last sync: 2022-Oct-03 16:35:36 UTC

Azure Policy definition

Configure Windows virtual machine scale sets to run Azure Monitor Agent with user-assigned managed identity-based authentication

Name Configure Windows virtual machine scale sets to run Azure Monitor Agent with user-assigned managed identity-based authentication
Azure Portal
Id 98569e20-8f32-4f31-bf34-0e91590ae9d3
Version 1.1.0
details on versioning
Category Monitoring
Microsoft docs
Description Automate the deployment of Azure Monitor Agent extension on your Windows virtual machine scale sets for collecting telemetry data from the guest OS. This policy will install the extension and configure it to use the specified user-assigned managed identity if the OS and region are supported, and skip install otherwise. Learn more: https://aka.ms/AMAOverview.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: DeployIfNotExists
Allowed: (DeployIfNotExists, Disabled)
Used RBAC Role
Role Name Role Id
Virtual Machine Contributor 9980e02c-c2be-4d73-94e8-173b1dc7cf3c
Rule Aliases IF (4)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Compute/imageId Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.id
properties.virtualMachineProfile.storageProfile.imageReference.id
properties.creationData.imageReference.id
false
false
false
Microsoft.Compute/imageOffer Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.offer
properties.virtualMachineProfile.storageProfile.imageReference.offer
properties.creationData.imageReference.id
false
false
false
Microsoft.Compute/imagePublisher Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.publisher
properties.virtualMachineProfile.storageProfile.imageReference.publisher
properties.creationData.imageReference.id
false
false
false
Microsoft.Compute/imageSku Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.sku
properties.virtualMachineProfile.storageProfile.imageReference.sku
properties.creationData.imageReference.id
false
false
false
THEN-ExistenceCondition (3)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Compute/virtualMachineScaleSets/extensions/provisioningState Microsoft.Compute virtualMachineScaleSets/extensions properties.provisioningState false
Microsoft.Compute/virtualMachineScaleSets/extensions/publisher Microsoft.Compute virtualMachineScaleSets/extensions properties.publisher false
Microsoft.Compute/virtualMachineScaleSets/extensions/type Microsoft.Compute virtualMachineScaleSets/extensions properties.type false
Rule ResourceTypes IF (1)
Microsoft.Compute/virtualMachineScaleSets
THEN-Deployment (1)
Microsoft.Compute/virtualMachineScaleSets/extensions
History
Date/Time (UTC ymd) (i) Change type Change detail
2022-08-12 16:33:43 change Minor (1.0.0 > 1.1.0)
2022-04-08 16:22:13 add 98569e20-8f32-4f31-bf34-0e91590ae9d3
Used in Initiatives
Initiative DisplayName Initiative Id Initiative Category State Type
[Preview]: Enable Azure Monitor for VMSS with Azure Monitoring Agent(AMA) 1f9b0c83-b4fa-4585-a686-72b74aeabcfd Monitoring Preview BuiltIn
Deploy Windows Azure Monitor Agent with user-assigned managed identity-based auth and associate with Data Collection Rule 0d1b56c6-6d1f-4a5d-8695-b15efbea6b49 Monitoring GA BuiltIn
JSON Changes

JSON