New improvements have been added to network security group (NSG), which filters network traffic to and from various Azure resources—Specify ICMP as the protocol in your NSG rules and override the default Azure platform considerations.
Source: Azure Roadmap