Use port pings instead of ICMP to test Azure VM connectivity - Microsoft Azure Support Team Blog - S
Because the ICMP protocol is not permitted through the Azure load balancer, you will notice that you are unable to ping an Azure VM from the internet, and from within the Azure VM, you are unable to ping internet locations. Note that while this applies to...