A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
Hello Srinivasan,
Thank you for reaching out Q/A. Based on our analysis, the failure is occurring during the execution of the Microsoft.PowerShell.DSC extension as part of the Azure Virtual Desktop (AVD) session host deployment. The extension is attempting to download the required configuration package from the Azure Storage endpoint (wvdportalstorageblob.blob.core.windows.net), but the connection is not being established successfully.
The error message “Unable to connect to the remote server” indicates that the virtual machine is currently unable to reach the required external endpoint. This is a known behavior and is typically related to outbound connectivity or DNS resolution issues, rather than a problem with the extension itself.
Although outbound port 443 has been allowed, successful communication also depends on access to the required destination endpoints. The deployment can fail if outbound traffic is restricted by NSG, firewall, proxy, or routing configurations, if there is no valid outbound internet path from the subnet, or if DNS resolution is not functioning correctly.
As per Microsoft guidance, AVD session host VMs must be able to access Azure Storage and other required service endpoints during provisioning. If the VM cannot reach these endpoints, the DSC extension retries multiple times and eventually fails, resulting in the deployment failure.
To resolve this, we recommend validating the following:
- Ensure outbound HTTPS (port 443) access to
*.blob.core.windows.netand other required AVD service endpoints - Confirm that the subnet has a valid outbound path (via NAT Gateway, Azure Firewall, or public internet access)
- Verify DNS resolution for the required endpoints from within the VM
- Review NSG, firewall, proxy, and routing (UDR) configurations to ensure traffic is not being blocked
Additionally, you may use the built-in AVD URL validation tool available on the session host to verify connectivity to all required endpoints, which can help quickly identify any blocked URLs.
For further troubleshooting, you can review the DSC extension logs available on the VM at: C:\WindowsAzure\Logs\Plugins\Microsoft.Powershell.DSC\<version>\DSC.log
These logs can provide more detailed insight into whether the failure is due to DNS resolution issues, connection timeouts, or blocked traffic.
For reference, you may review the following Microsoft documentations:
Required FQDNs and endpoints for Azure Virtual Desktop
Check access to required FQDNs and endpoints for Azure Virtual Desktop
Hope this helps! Please let me know if you have any queries in comments.