Forum Discussion
Arctyc
Jun 15, 2022Copper Contributor
Looking for Azure policy for AVD
Hello. I'm trying to determine if there is some existing policy, or some information on creating policy definitions for AVD specifically in regards to:
- Diagnostic Settings (Host pool, workspaces, application groups)
- Setting up performance counters
- Deploying log analytics agent on all hosts
1 Reply
- Hi,
For log analytics agent I would check out the following link to enable it for all your vm's. https://docs.microsoft.com/en-us/azure/defender-for-cloud/enable-data-collection?tabs=autoprovision-feature
For the diagnostic settings, I enable them all in my terraform script for AVD.
https://github.com/JohanVanneuville/Azure-Terraform/blob/main/Modules/Azure%20Virtual%20Desktop/Hostpool/main.tf
I don't think there is an existing policy for AVD components.