Hi Mayra
This behavior is not common
Try checking NSG, Routing tables, and DNS
If an NSG rule is blocking internet access, this could be the issue. Check for any NSG that might be associated with the Subnet or the VM Network Interface Card (NIC) and make sure there are rules to allow outbound traffic
It is possible to have an NSG at the subnet level and another at the network card (NIC) level at the same time, and the most restrictive rule will prevail.
You can go to Network Watcher, Effective security Rules and find out you NSG associated
DNS
if you have set up custom DNS settings or if the VM is peered with another network. Check the DNS settings to make sure they're correct.
You can go to NIC and DNS servers:
Routing tables:
Routing tables:
If there's a custom route table, it could be directing traffic in a way that prevents internet access.
You can looking for default route on effective routes on NIC configuration:
OS level:
The issue could also be with the operating system's firewall or DNS settings. For example, the Windows firewall might be blocking outbound traffic, or the DNS settings might be misconfigured. Check the operating system's network settings and firewall rules.
Get in touch if you need more help with this issue.
--please don't forget to "[Accept the answer]" if the reply is helpful--