Had same problem as others. All "fixes" did not resolve the problem EXCEPT a solution post by Tommy-MSFT here:
https://answers.microsoft.com/en-us/windows/forum/all/windows-11-wifi-issue-connected-to-internet-but/f9f5e66a-42b9-45e5-9f86-fd8b96e9486d
While most of Tommy's solution was contained in most other solutions that did not work, I believe what fixed the setting in Windows 11 for me was:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator]
@=""
"NoActiveProbe"=dword:00000000"
Once I changed NoActiveProbe to 0 (zero) in the Windows Registry, the Wi-Fi icon in the Taskbar changed from globe to connected and all apps worked fine.
Hope this helps others as it help me.
Had the same problem for over a year, tried dozens of solutions and nothing worked until this!!!!
I'm no expert but I would suggest checking all the parameters that Tommy mentioned because the Network Connectivity Status Indicator was not enough for me!
Thank you and hope this helps