-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
When using the commands to update rules and url path rules any redirections do not flow through to the AGW.
Related command
$redirectConfig = az network application-gateway redirect-config create `
--gateway-name $appGatewayName `
--resource-group $resourceGroupName `
--name "$rule-Redirect" `
--type Temporary `
--target-url $ruleToUrlMap[$rule] `
--include-query-string false `
--include-path false `
--query id `
--output tsv
az network application-gateway rule update `
--gateway-name $appGatewayName `
--resource-group $resourceGroupName `
--name $rule `
--redirect-config "$rule-Redirect" `
--no-wait
Errors
No errors, CLI shows everything successful
Issue script & Debug output
N/A
Expected behavior
Expecting the redirect to be selected for this rule, but it does not show in portal or respected when navigating via the browser.
I do see the redirectConfiguration in the az network application-gateway rule show
Environment Summary
azure-cli 2.67.0
core 2.67.0
telemetry 1.1.0
Extensions:
bastion 0.2.5
Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\jorda.azure\cliextensions'
Python (Windows) 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 02:44:45) [MSC v.1941 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
