Disable Azure Front Door health probe
1 min readApr 17, 2024
Health probe will work in backgroud even if you disable it from Azure port
Run following commands to staop health probe from AZ CLI
# tested with Azure CLI v2.57.0
# Note that the Az CLI is a separate tool to Azure PowerShell and must be installed separately
# confirm Az CLI is installed
az version
# log in to Azure
az login
# optional - if you have access to multiple subscriptions, set the subscription that your Front Door profile is in
az account set --subscription "SUBSCRIPTION ID"
# confirm you are looking at the intended origin group
# check the details match the origin group you're looking at in the portal.
az afd origin-group show -g "RESOURCE GROUP NAME" --profile-name "CDN PROFILE NAME" --origin-group-name "ORIGIN GROUP NAME"
# remove the health probe
# this will take a minute or two to finish.
az afd origin-group update -g "RESOURCE GROUP NAME" --profile-name "CDN PROFILE NAME" --origin-group-name "ORIGIN GROUP NAME" --remove healthProbeSettings
# safe to close the shell. no need to logout etc.