How many IP addresses does Azure reserve in each subnet?

BeginnerConceptNetworking
Answer

Five: the network address, .1 (default gateway), .2 and .3 (Azure DNS mapping), and the broadcast address. A /24 gives 251 usable addresses, a /29 (the smallest allowed) gives 3.

This matters for AKS with Azure CNI (node subnet), App Service VNet integration, Application Gateway v2 (Microsoft recommends a /24) and Azure Firewall (requires a /26 named AzureFirewallSubnet).

Azure All Azure questions Roadmap: Azure core services

More on Networking