An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
This is most likely a portal validation bug/inconsistency, not expected VNet behavior.
Azure VNets support any RFC1918 private range and also allow public IP address spaces you own, provided they don't overlap with reserved Azure ranges.
The portal rejects 64.0.0.0/2 with a "private IP only" message, but accepts the subsets 64.0.0.0/3 and 64.0.0.0/4.
Since all three ranges are public, the different validation result is inconsistent.
The likely cause is that the portal's client-side validation incorrectly flags very large prefixes such as /2, while smaller subsets bypass the check.
Recommendations:
- Test the same VNet creation using Azure CLI, ARM/Bicep, Terraform, or REST API.
If the API also rejects the range, it is a backend platform limitation.
If the API accepts it, then the issue is confirmed as an Azure Portal validation bug, and a support ticket should be raised.
Conclusion: The behavior is not logically consistent with IP addressing rules; it appears to be a validation issue specific to the Azure Portal rather than intentional design.