Forum Discussion
No Internet Accesss issues across AVD
Hi,
We have this ongoing battle with Internet Access detection in AVD, we have several sites that have similar issue.
When Autoscaler kicks in, in the morning, boots the machines up, we can on occasion get random machines that believe they have no internet access, when they do.
You can browse the internet and the agent is available in AVD, however it stops office from working. Outlook thinks its offline, when it isn't. This is causing us greif with our users.
3 other of our sites have the same issue, we managed to rectify that by disabling IPV6 on the devices. However we have 1 site that just won't be completely eradicated of this and keeps popping up from time to time, if we reboot the machine again it then works fine.
Is there any permeant solution to this, from what I read it probes some Microsoft websites to detect it can connect to the internet, they do go through Defender web filter and have added these sites as exceptions but the issue has re-occurred again.
- jmann3627Copper Contributor
We're experiencing the same issue with multiple environments, our only resolution at the moment is to restart the affected AVD Session Host. Connectivity to the Internet is fine, have also run the WVD Agent URL Tool which shows no issues. Microsoft 365 Services however are disrupted and fail to work until the restart is carried out. Any help would be appreciated.
- jmann3627Copper Contributor
gjone92 We've not come up with a permanent solution, but we have found that configuring the Network Card with a Static IP Address temporarily does resolve the issue without a restart. However this isn't a recommended solution. We have also been advised to try restarting the "DHCP Client" Service on the Virtual Machine but this is yet to be tested. Please let me know if you test this and it resolves.
- gjone92Copper ContributorAnyone have any more updates with this by any chance?
I tested putting a Static IP on the NIC on Azure and locally on the VM and still have the problem happening.- jmann3627Copper ContributorUnfortunately not. I've had a ticket raised with Microsoft since last week, and apart from recommending we assign a Public IP Address to the AVD Session Host (no thank you) it's been radio silence since. Thanks for the update mentioning what you've tried within the Azure Portal. I'll chase Microsoft Support for an update.
- jmann3627Copper Contributor
Not sure if either of you are still experiencing this issue, but if you are, can you check on your AVD Session Hosts for the existence of Registry Key:
"RegItemPath": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\NetworkConnectivityStatusIndicator", "RegItemValueName": "DisablePassivePolling", "RegItemValueType": "DWord", "RegItemValue": "1",
We have this Registry Key enabled on AVD Session Hosts that we've experienced the issue on. Happened to chance across this post on GitHub which matches the issue. You may have run the Azure Virtual Desktop Optimisation Script (VDOT) which previous versions have created this key, so I think that's where we have come across the issue.
I've not removed it yet, as I am still identifying the systems it's on, but I would be interested to know if any of your systems have it also? Thanks
- MathieuVandenHautteSteel Contributor
Hi Kevhal,
The issue is caused by the passive Pooling configuration .
The resolution is to delete the registry key below : HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator\DisablePassivePolling