Describe the bug
az network application-gateway waf-policy custom-rule create --action Allow --name MyWafPolicyRule --policy-name MyPolicy --priority 500 --resource-group MyResourceGroup --rule-type MatchRule
Related command
az network application-gateway waf-policy custom-rule create --resource-group x --policy-name y --name MyWafPolicyRule --action Allow --rule-type MatchRule --priority 890
Errors
(ApplicationGatewayFirewallCustomRuleInvalidPriority) Custom Rule 'MyWafPolicyRule ' does not have valid priority in context 'properties.customRules[2]'.
Code: ApplicationGatewayFirewallCustomRuleIn@shanselman alidPriority
Message: Custom Rule 'MyWafPolicyRule ' does not have valid priority in context 'properties.customRules[2]'.
Issue script & Debug output
x
Expected behavior
y
Environment Summary
z
Additional context
should be pretty easy to fix
Describe the bug
az network application-gateway waf-policy custom-rule create --action Allow --name MyWafPolicyRule --policy-name MyPolicy --priority 500 --resource-group MyResourceGroup --rule-type MatchRule
Related command
az network application-gateway waf-policy custom-rule create --resource-group x --policy-name y --name MyWafPolicyRule --action Allow --rule-type MatchRule --priority 890
Errors
(ApplicationGatewayFirewallCustomRuleInvalidPriority) Custom Rule 'MyWafPolicyRule ' does not have valid priority in context 'properties.customRules[2]'.
Code: ApplicationGatewayFirewallCustomRuleIn@shanselman alidPriority
Message: Custom Rule 'MyWafPolicyRule ' does not have valid priority in context 'properties.customRules[2]'.
Issue script & Debug output
x
Expected behavior
y
Environment Summary
z
Additional context
should be pretty easy to fix