Azure AVD and Azure Firewall

TalaT 0 Reputation points
2025-04-21T11:34:37.52+00:00

Dear Experts,

I have been pulling my hairs for some time getting the AVD behind Azure firewall premium working.

Following the steps explained below: I have tripple checked all the FQDNs and Service Tags are allowed (incl WindowsVirtualDesktop)

https://learn.microsoft.com/en-us/azure/firewall/protect-azure-virtual-desktop

https://learn.microsoft.com/en-us/azure/virtual-desktop/required-fqdn-endpoint?tabs=azure

https://learn.microsoft.com/en-us/azure/firewall/tutorial-firewall-deploy-portal-policy

https://learn.microsoft.com/en-us/azure/firewall/tutorial-firewall-deploy-portal

As soon as I associated the subnet of AVD to the UDR forcing incoming/outgoing traffic Azure Firewall; the session host becomes unavailable in the host pool and remote desktop client is unable to connect.

I have an DNAT rule in firewall policy that translates 3389 on firewall public IP to the AVD private IP.

I have Network rules that allow all 443 on TCP (for testing).

When I disassociated the avd subnet from the UDR and connect to AVD; I see below errors in the application log (during the time when firewall is in between).

User's image

User's image

User's image

I have a network rule named "allow-AVD-Required02" that allows FQDNs:

0b18276f-ea9e-41a5-b682-bd96d6270d3c.rdbroker-g-au-r1.wvd.microsoft.com,0b18276f-ea9e-41a5-b682-bd96d6270d3c.rdbroker.wvd.microsoft.com,0b18276f-ea9e-41a5-b682-bd96d6270d3c.rddiagnostics-g-au-r1.wvd.microsoft.com,mrsglobalsteus2prod.blob.core.windows.net,login.microsoftonline.com,catalogartifact.azureedge.net,gcs.prod.monitoring.core.windows.net,azkms.core.windows.net,mrsglobalsteus2prod.blob.core.windows.net,wvdportalstorageblob.blob.core.windows.net,oneocsp.microsoft.com,www.microsoft.com,aka.ms,www.msftconnecttest.com

I can see below error in the AzureDiagnostics table in LA:

Failed to resolve FQDN 0b18276f-ea9e-41a5-b682-bd96d6270d3c.rdbroker-g-au-r1.wvd.microsoft.com. Error lookup 0b18276f-ea9e-41a5-b682-bd96d6270d3c.rdbroker-g-au-r1.wvd.microsoft.com on 127.0.0.53:53: read udp 10.26.65.6:13140->10.26.65.6:65053: read: connection refused; DNS resolution returned no IPs. Rule Collection: my-fwl-policy-01:fwl-policy:fwl-policy-avd-rcl-01. Rule: allow-AVD-Required02

My DNS Setting on firewall policy is below:

User's image

The AVD VNET as DNS setting pointing to the firewall private IP. I have tried disabling the DNS in firewall and removing firewall private ip from avd VNET DNS settings; but avd is still inaccessible.

Please Help!!!!!! :)

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,763 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.