Hi @DB-0400
In the NSG you have the option to block by IP; if you want a block at this level, you will need to use an NVA (such as azure firewall)
https://learn.microsoft.com/en-us/azure/firewall/tutorial-firewall-deploy-portal
https://azure.microsoft.com/en-us/solutions/network-appliances/
Get in touch if you need more help with this issue.
--please don't forget to "[Accept the answer]" if the reply is helpful--