What Should You Do When You Got No Internet Access While Connected to WiFi / Ethernet ?
Do you use VPN or other proxy tools?
If the network icon in the right bottom of taskbar is totally normal as usual, but you cannot visit any site or login any applications, proxy settings is the first thing that you you should look at.
Click on START button - Settings - Network & Internet - Proxy, switch off Use a proxy server and test.
If issue persists, try to reset your network. Do not turn off computer manually, but let it reboot automatically.
These operations should have solved your problem. But if unfortunately the issue still exists, you should check the 3rd party software, e.g., antivirus and firewall, if they stop other applications from connecting to the internet.
At last, test other devices, and restart your router / switch.