Enterprise-Scale icon indicating copy to clipboard operation
Enterprise-Scale copied to clipboard

Bug Report - Deploy Diagnostic Settings for Virtual Networks fails in USGovernment

Open mwmeehan opened this issue 2 years ago • 1 comments

When running remediation for the custom policy "Deploy Diagnostic Settings for Virtual Network to Log Analytics workspace" the remediation fails due to VMProtectionAlerts not being available in Azure Government yet. A remediation fails due to a bad request. Wondering if this is something that can be addressed or if we will just need to edit the policy for now until it is available in Gov.

Steps to reproduce

  1. Run remediation task in US Government
  2. Remediation fails due to a bad request as VMProtectionAlerts is not available in the government client

Screenshots image

image

image

mwmeehan avatar May 23 '23 15:05 mwmeehan

Hi @mwmeehan, thanks for raising this issue. Please refer to this new wiki page: https://github.com/Azure/Enterprise-Scale/wiki/ALZ-Policies-FAQ There is a lot changing around Diagnostic Settings at the moment, and we have challenges testing in US Gov :) I would suggest as a short term workaround to edit the policy as you suggested.

Springstone avatar May 24 '23 10:05 Springstone