Hi Nitin,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
Kindly Note - By default, all Azure VM's are provided default outbound internet access. Refer the URL to know more about default outbound internet access-
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/default-outbound-access
Unless there are some changes made on either Subnet/Nic level NSG, DNS setting or if a UDR is enforced on the subnet level with a default route next hop modification. Kindly check and share the snapshot of below network settings to help me understand the issue-
- Share the DNS settings under the virtual network Migrated-vnet. Refer below snapshot-
- Share the Virtual Machine vNic effective security rules and effective routes snapshot, both options are placed one over the other Refer the below URL.
- https://learn.microsoft.com/en-us/azure/virtual-network/diagnose-network-traffic-filter-problem#diagnose-using-azure-portal
- Also advise if the VM is deployed as a part of load balancer pool.
Once the above snapshots are shared, it will help me to understand the network settings of the vnet/subnet and isolate the issue.
Kindly let me know if you encounter any further queries.