Hi,
It's almost impossible to block this kind of service using Network Security Groups. NSG only filter at L3/L4 , it means, IP addresses and Ports. To achieve that you would need to identify all IP addresses from that services and add them in to rules what is a nightmare to address and maintain. For those kind of filtering the appropriate service is Azure Firewall Premium SKU or an 3rd Party NVA Firewall/Proxy.