KeyVaultNetworkRuleSetBase IpAddressRange limit of 127, KeyVault Doc IPV4 limit is 1000 #22129
-
I'm passing more than 127 IP addresses to Update-AzKeyVaultNetworkRuleSet -IpAddressRange and get the error: Cannot validate argument on parameter 'IpAddressRange'. The parameter requires at least 0 value(s) and no more than 127 value(s) - 135 value(s) were provided. Checking the code, at https://github.com/Azure/azure-powershell/blob/main/src/KeyVault/KeyVault/Commands/VirtualNetworkRuleSet/KeyVaultNetworkRuleSetBase.cs#L32, there's a constraint to limit to 127. `[Parameter(Mandatory = false, HelpMessage = "Specifies allowed network IP address range of network rule.")] [ValidateCount(0, 127)] KeyVault documentation https://learn.microsoft.com/en-us/azure/key-vault/general/network-security states the limit is 1000 IPv4 rules are allowed
Can I request a fix for this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The ValidateCount is there for five years, maybe outdated. |
Beta Was this translation helpful? Give feedback.
-
Same issue with #22137, please expect the fix available on 2023-08-01. |
Beta Was this translation helpful? Give feedback.
Same issue with #22137, please expect the fix available on 2023-08-01.