last sync: 2025-Aug-20 17:22:59 UTC

Audit Diagnostic Settings for WVD Host Pools to Log Analytics workspace

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy e4a5441a-fc32-4ae3-854f-7ff52dcde5be (1.0.0) to Azure
Display name Audit Diagnostic Settings for WVD Host Pools to Log Analytics workspace
Id e4a5441a-fc32-4ae3-854f-7ff52dcde5be
Version 1.0.0
Details on versioning
Category Monitoring
Microsoft Learn
Description Audits the diagnostic settings for WVD Host Pools to stream to a regional Log Analytics workspace when any WVD Host Pool which is missing these diagnostic settings is created or updated.
Mode All
Type Custom Community
Effect Default
AuditIfNotExists
Allowed
AuditIfNotExists, Disabled
RBAC role(s) none
Rule aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Insights/diagnosticSettings/logs.enabled microsoft.insights diagnosticSettings properties.logs[*].enabled True False
Rule resource types IF (1)
Microsoft.DesktopVirtualization/hostpools
JSON
EPAC
Deploy policy e4a5441a-fc32-4ae3-854f-7ff52dcde5be (1.0.0) to Azure