Azure Virtual desktop VM fails during provisioning with connection to remote server

Adrian Holmes 0 Reputation points
2026-11-20T17:34:37.6566667+00:00

All session host VMs in the host pool are failing during provisioning at the Microsoft.PowerShell.DSC extension step. The extension repeatedly cannot download https://wvdportalstorageblob.blob.core.windows.net/galleryartifacts/Configuration_1.0.03586.1624.zip after 17 attempts because it is unable to connect to the remote server, and the extension terminates with VMExtensionProvisioningError. Since host pool write and registration-token operations succeeded and there were no service-health events in the investigation window, the issue is isolated to session host provisioning rather than the host pool control plane. The failure is consistent with outbound connectivity to the Azure Virtual Desktop DSC package endpoint being blocked or unavailable, such as by firewall or proxy restrictions.

The issue is occurring during session host provisioning, not at the host pool control plane level. All four session host VMs under this host pool show the same failure in the Microsoft.PowerShell.DSC extension.

Evidence:

  • Each VM reports Provisioning failed for the DSC extension with the same message: it could not download https://wvdportalstorageblob.blob.core.windows.net/galleryartifacts/Configuration_1.0.03586.1624.zip after 17 attempts because it was unable to connect to the remote server.
  • The activity log for the VM extension shows the terminal error as VMExtensionProvisioningError with the same download/connectivity failure.
  • Host pool write and registration-token operations succeeded, and there were no subscription service-health events during the investigation window.

Root cause: the session host deployment is failing because the VM cannot reach the Azure Virtual Desktop DSC package download endpoint. This matches the documented behavior for DSC-extension failures caused by lack of outbound connectivity to required Azure/AVD endpoints (for example, firewall or proxy blocking)..

Azure Virtual Desktop
Azure Virtual Desktop

A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.

0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-11-20T17:35:34.7466667+00:00

    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/0 through 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.
    • TcpTestSucceeded is True.
    • 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:

    1. Retry or redeploy one session host first.
    2. In Azure portal → Virtual machine → Extensions + applications, verify that Microsoft.PowerShell.DSC reaches Provisioning succeeded.
    3. Check C:\Windows\Temp\ScriptLog.log for subsequent DSC or agent-installation errors.
    4. 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

    1. Required FQDNs and endpoints for Azure Virtual Desktop
    2. Use Azure Firewall to protect Azure Virtual Desktop deployments
    3. Failed to create session host in host pool, deployment failed but created VM still running - Microsoft Q&A
    4. Check access to required FQDNs and endpoints for Azure Virtual Desktop
    5. Troubleshooting overview, feedback, and support for Azure Virtual Desktop
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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