Update-AzCognitiveServicesAccountNetworkRuleSet (underlying REST api) fails for /31 and /32 networks #25455
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Cognitive Services
customer-reported
Service Attention
This issue is responsible by Azure service team.
Description
When specifying /31 or /32 networks, the api call to https://management.azure.com will fail with "Invalid IP address or range 13.34.9.100/32.". Other Azure services like NSG, Function App or SQL Server allow that and they are valid as well. I am grabbing the public IP ranges from Amazon AWS for a certain region and want to apply them as allowed networks.
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: