-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[Network] az network application-gateway rule create drops validateCertChainAndExpiry from http-settings #32950
Copy link
Copy link
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamBreaking ChangeNetworkaz network vnet/lb/nic/dns/etc...az network vnet/lb/nic/dns/etc...act-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamBreaking ChangeNetworkaz network vnet/lb/nic/dns/etc...az network vnet/lb/nic/dns/etc...act-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Mention that running
az network application-gateway rule create(orredirect-config create) inadvertently drops thevalidateCertChainAndExpiryandvalidateSNIproperties from all existingbackendHttpSettingsCollectionitems on the gateway.Related command
Errors
State that this causes immediate production HTTPS validation failures (502 Bad Gateway) for existing backend pools every time a new listener or rule is appended to a shared gateway.
Issue script & Debug output
N/A
Expected behavior
When running Application Gateway commands that mutate the gateway (such as
az network application-gateway rule create,probe create,address-pool create, orhttp-listener create), the command should download the current configuration from Azure, make its specific modification, and send the entire configuration back to Azure without altering or dropping any previously configured properties on unrelated elements.Specifically, if an existing
backendHttpSettingsCollectionitem already hasvalidateCertChainAndExpiry: falseandvalidateSNI: falseconfigured (as introduced in PR #32332), these properties must be preserved during the internal Read-Modify-Write cycle triggered by other application-gateway sub-commands.Environment Summary
az --version
azure-cli 2.83.0
core 2.83.0
telemetry 1.1.0
Extensions:
automation 1.0.0b1
resource-graph 2.1.1
ssh 2.0.6
Dependencies:
msal 1.35.0b1
azure-mgmt-resource 23.3.0
Python location '/opt/azure-cli/bin/python'
Config directory '/root/.azure'
Extensions directory '/root/.azure/cliextensions'
Python (Linux) 3.14.3 (main, Feb 13 2026, 15:31:44) [GCC 15.2.1 20260209]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
Point out that because these flags were added via PR #32332 inside the http-settings command, the rule creation commands are failing to retain those new properties during their internal Read-Modify-Write cycle.