A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
Allow outbound TCP 443 from the session-host subnet to wvdportalstorageblob.blob.core.windows.net, then validate access from the same network path and retry the failed session-host deployment.
1. Correct the outbound network policy
For Azure public cloud, wvdportalstorageblob.blob.core.windows.net is a required session-host endpoint used for Azure portal support, over outbound TCP 443. Azure Virtual Desktop does not require a corresponding inbound rule.^1^
Check every control on the session-host egress path:
- Azure Firewall or another network virtual appliance.
- Subnet or NIC network security groups.
- User-defined routes that send
0.0.0.0/0through a firewall. - On-premises firewalls when forced tunneling is enabled.
- Explicit or transparent web proxies.
- Guest OS firewall or endpoint-security web filtering.
- Custom DNS resolution.
Add an outbound application/FQDN rule permitting:
Protocol: HTTPS
Port: TCP 443
Target: wvdportalstorageblob.blob.core.windows.net
Source: Session-host subnet or its corresponding IP group
Action: Allow
Do not restrict the change to this single hostname permanently. Compare the policy against the complete mandatory session-host endpoint table, including *.wvd.microsoft.com, the agent update endpoints, monitoring endpoints, certificate endpoints, and Azure platform communication addresses.^1^
If Azure Firewall is used, Microsoft recommends service/FQDN tags where applicable and requires rules for the remaining listed endpoints. Do not apply TLS inspection to Azure Virtual Desktop traffic.^2^
2. Validate from the affected network path
Run these tests on one failed VM through Run Command, Serial Console, or another VM in the same subnet with the same routes, DNS, firewall, and proxy policy:
$hostName = "wvdportalstorageblob.blob.core.windows.net"
Resolve-DnsName $hostName
Test-NetConnection $hostName -Port 443
$url = "https://wvdportalstorageblob.blob.core.windows.net/galleryartifacts/Configuration_1.0.03586.1624.zip"
$r = Invoke-WebRequest -Uri $url -Method Head -UseBasicParsing
$r.StatusCode
Expected results:
- DNS returns an address.
-
TcpTestSucceededisTrue. - The HTTPS request reaches the storage endpoint without a connection, proxy, TLS, or name-resolution error.
A matching Microsoft Q&A case with the same Microsoft.PowerShell.DSC failure, package host, 17 download attempts, and “Unable to connect to the remote server” was resolved by checking outbound connectivity, required URLs, and firewall/proxy restrictions.^3^
If the TCP test succeeds but the HTTPS request fails, inspect proxy authentication, TLS interception, certificate validation, and endpoint-security logs. If DNS resolution fails, correct the custom DNS forwarding path before retrying provisioning.
3. Validate all AVD endpoints
If an existing session host on the same network has RDAgent 1.0.2944.400 or later and .NET Framework 4.6.2, run the Azure Virtual Desktop Agent URL Tool as administrator:
$agent = Get-WmiObject Win32_Product |
Where-Object Name -eq "Remote Desktop Services Infrastructure Agent" |
Sort-Object Version -Descending
$path = $agent[0].InstallSource + "RDAgent_" + $agent[0].Version
Set-Location $path
.\WVDAgentUrlTool.exe
Unblock every endpoint reported as inaccessible. The tool does not fully validate wildcard allow-list entries, so those must still be permitted explicitly in the network policy.^4^
4. Retry provisioning
After connectivity succeeds:
- Retry or redeploy one session host first.
- In Azure portal → Virtual machine → Extensions + applications, verify that
Microsoft.PowerShell.DSCreaches Provisioning succeeded. - Check
C:\Windows\Temp\ScriptLog.logfor subsequent DSC or agent-installation errors. - Confirm the host appears in the host pool and reaches Available before deploying the remaining hosts.
Registration-token and host-pool permission troubleshooting is not the next step here because those operations already succeeded and the recorded failure occurs while downloading the DSC package.
If the endpoint is reachable from the VM but DSC still reports the same download error, collect the extension status, ScriptLog.log, effective routes, DNS results, proxy configuration, and firewall logs, then open an Azure support request under Azure Virtual Desktop. Azure Virtual Desktop Insights or Log Analytics can provide additional deployment diagnostics.^5^
References
- Required FQDNs and endpoints for Azure Virtual Desktop
- Use Azure Firewall to protect Azure Virtual Desktop deployments
- Failed to create session host in host pool, deployment failed but created VM still running - Microsoft Q&A
- Check access to required FQDNs and endpoints for Azure Virtual Desktop
- Troubleshooting overview, feedback, and support for Azure Virtual Desktop