Azure / azure-monitor-baseline-alerts

Azure Monitor Baseline Alerts
MIT License
159 stars 227 forks source link

Start-AMBARemediation.ps1 fails in Azure Government Environment #371

Open sdolgin opened 6 days ago

sdolgin commented 6 days ago

The script Start-AMBARemediation.ps1 fails in the Azure Government environment with the following error message:

The given key 'AzureAttestationServiceEndpointSuffix' was not present in the dictionary.

My guess is that the base URI for ARM is different in Gov and not properly set when the script runs.

Image

Brunoga-MS commented 5 days ago

Hello @sdolgin , thanks for your feedback. AMBA-ALZ is not officially supported on AzureGov environment and you are rights that the URI is different. However if you were able to deploy it, I would would give the remediation script a try using a private version containing a possible fix/workaround. Let me know if this is ok to you.

Thanks, Bruno