Hello,
Thank you for your reply and providing Information.
Please try to create new Switch from Hyper-V Manager.
Go to WIFI Adapter TCP/IP - >"Properties > Sharing", tick "Allow other network users to connect through this computer's Internet connection" and select "vEthernet (NAT)" in the drop down.
Select Connection type: "External network", Select the correct WIFI adapter. Tick "Allow management operating system to share this network adapter.
Right click Ubuntu VM, select "Settings"
In Network Adapter, Virtual switch, select Switch you just created.
Best Regards,
Prakash