Azure / Azure/azure-cli

Examples use a rule priority of 500, while the allowed range is 1-100

Open
#27,718 1 comment 0 reactions 1 assignee Claimed by @necusjz View on GitHub
act-quality-productivity-squad Auto-Assign Azure CLI Team customer-reported Network potential-pruning question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.