Did anyone else experience an issue with disabling Azure availability test before running CI/maintenance when the test continues sending requests and raising alerts, even though it was disabled?
We're disabling our tests with PowerShell:
$WebTests = Get-AzResource -ResourceType "Microsoft.Insights/Webtests" -ResourceGroupName $ResourceGroupName -ErrorAction Ignore
$WebTests | Where-Object { $_ } | ForEach-Object {
$WebTest = Get-AzResource -ResourceId $_.ResourceId
$WebTest.Properties.Enabled = $Enable -eq "true"
$WebTest | Set-AzResource -Force | Out-Null
}
But from time to time we receive alerts 2-4 minutes after the test has been disabled.