Application Gateway - Error creating rule: Either all or no rule should have the priority specified
See original GitHub issueRelated command
az network application-gateway rule create
Describe the bug Attempting to create a new rule produces the following error:
ERROR: (ApplicationGatewayRequestRoutingRulePartialPriorityDefined) Either all or no rule should have the priority specified.
The CLI command does not provide the --priority
flag so the priority number should be automatically generated (all other rules in the AGW have a priority already set).
To Reproduce Execute the following command:
az network application-gateway rule create `
--gateway-name test-gateway-name `
--name test-rule-name `
--resource-group test-rg-name `
--http-listener test-listener-name `
--http-settings test-httpsetting-name `
--address-pool test-address-pool-name
Expected behavior The priority value should be automatically generated by the service when it is not provided in the command.
Environment summary The CLI command is being executed by a ubuntu-18.04 Azure DevOps work agent.
Additional context This has only recently started failing (last couple of days).
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:18 (7 by maintainers)
Top GitHub Comments
More specifically, the reason is 2.34 and 2.37 send requests based on different API versions:
And, as I mentioned before, the breaking change is involved since ‘2021-08-01’.
It might be related to the deployment strategy, as you known, East US 2 is one of the canary regions. Let’s wait for the service team to jump in and provide us more information. : )