What are service tags and why use them in NSG rules?

BeginnerConceptNetworking
Answer

Service tags are Microsoft-maintained groups of IP prefixes for a service: Internet, VirtualNetwork, AzureLoadBalancer, AzureCloud.centralindia, Storage.CentralIndia, AzureMonitor, AzureContainerRegistry, GatewayManager. Microsoft updates the prefixes; your rule stays the same.

Example: allow outbound to Azure Monitor and deny other internet egress from a locked-down subnet, without maintaining IP lists.

Azure All Azure questions Roadmap: Azure core services

More on Networking