M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions m365con.net

Blog · Mirko Peters

Requirements for running AVD session hosts on-premises with Azure Arc

Partner · Neutral partner: Nerdio

By ·

Before you register on-premises session hosts with Azure Virtual Desktop Hybrid, you need an Azure side (providers, roles, a host pool with a managed identity), a host side (supported OS, Arc agent, domain join) and outbound network access. This checklist lists each requirement with its source.

Running session hosts on-premises with Azure Virtual Desktop Hybrid needs three things in place before the first host registers: the Azure resources and roles, a supported and Arc-enabled Windows machine, and outbound access to the Azure Arc and Azure Virtual Desktop endpoints. For the concept, the decision to use Hybrid and the comparison with Azure Local, see the Hybrid explainer. The page on Azure Arc covers the connection layer in general.

Key points

  • Four resource providers matter: Microsoft.DesktopVirtualization for AVD, plus Microsoft.HybridCompute, Microsoft.GuestConfiguration and Microsoft.HybridConnectivity for Azure Arc-enabled servers.
  • The host pool needs a managed identity with Reader on the resource group holding the Arc-enabled servers. Learn warns hosts will not become available without it in a future release.
  • Create a standard host pool without adding VMs. Session host configuration is not supported on Azure Virtual Desktop Hybrid.
  • Arc and AVD traffic is outbound on TCP 443; no inbound ports are needed. Learn treats an unreachable 169.254.169.254 on Arc machines as expected.
  • Learn says Azure Arc is not recommended for short-lived or VDI virtual machines. Plan Hybrid session hosts as long-lived machines that you do not delete and recreate under the same name.

Azure Virtual Desktop Hybrid was announced as generally available on 1 September 2026. Learn's overview and deployment pages carry the page date 2 September 2026 and show no preview notice.

1. Azure side

Resource providers. The deployment page requires that Microsoft.DesktopVirtualization is registered in your subscription. The Azure Arc prerequisites page lists these providers for Arc-enabled servers: Microsoft.HybridCompute, Microsoft.GuestConfiguration and Microsoft.HybridConnectivity. Learn registers the first three like this:

Register-AzResourceProvider -ProviderNamespace Microsoft.HybridCompute
Register-AzResourceProvider -ProviderNamespace Microsoft.GuestConfiguration
Register-AzResourceProvider -ProviderNamespace Microsoft.HybridConnectivity

Roles. Host pool management needs the Desktop Virtualization Contributor role. To onboard machines to Arc, you need the Azure Connected Machine Onboarding role or Contributor on the resource group you manage the servers in. To read, modify and delete a machine, you need Azure Connected Machine Resource Administrator on that resource group.

Host pool, workspace, application group. Create a standard host pool by following the normal deployment instructions, without adding virtual machines. Learn says not to add VMs to this pool. Session host configuration is not supported. Then create a workspace and application group if you have none, add the group to the workspace, and assign users.

Managed identity. On the host pool's Identity tab, assign a managed identity. Learn links to its page on configuring a managed identity for a host pool. That identity needs the Reader role on the resource group that contains your Arc-enabled servers. Learn marks this as important: if the identity lacks Reader access to the Arc resource group, "a future release will prevent session hosts from becoming available". In the portal:

  1. Open Resource groups and select the group with your Arc-enabled servers.
  2. Select Access control (IAM), then Add and Add role assignment.
  3. Search for Reader, select it and select Next.
  4. For Assign access to, choose Managed identity, then Select members.
  5. Pick your subscription, choose Host pool in the Managed identity list, select your host pool's identity, choose Select, then select Review + assign twice.

Or in Azure PowerShell. Learn's managed identity page shows this script without naming the identity type.

$hostPool    = Get-AzWvdHostPool -Name "<HostPoolName>" -ResourceGroupName "<HostPoolResourceGroup>"
$principalId = $hostPool.IdentityPrincipalId
New-AzRoleAssignment -ObjectId $principalId -RoleDefinitionName "Reader" -ResourceGroupName "<ArcServersResourceGroup>"

2. The machine

Operating system and licensing. Learn lists Windows Server 2025, 2022, 2019 and 2016 (virtual machines and headless physical servers), and Windows 11 and Windows 10 Enterprise (virtual machines, or dedicated headless physical hosts). Multi-session editions are not supported. Users need the matching entitlement plus the Azure Virtual Desktop Hybrid service user license.

Identity. Windows Server hosts must be AD DS-joined or hybrid-joined, because Entra-only join is not supported; the Hybrid explainer lists the client options. Learn's deployment page names no order between domain join and the Arc extension. Nerdio's help page requires domain join before the Arc extension is installed; that is a Nerdio requirement.

Arc agent. The Azure Connected Machine agent must be installed and configured on each session host. Points from the Arc pages that matter for desktops:

  • For Hybrid, Learn lists Windows Server 2016 to 2025 and Windows 11 and Windows 10 Enterprise. All of these are on the Arc prerequisites page, which lists further versions. Arc supports Windows 10 and 11 clients only in a server-like role: always connected to the internet, connected to power and powered on.
  • Learn says Microsoft does not recommend running Azure Arc on short-lived servers or VDI virtual machines. Arc cannot tell whether an agent is offline for maintenance or because the VM was deleted, so stale resources can conflict with a recreated VM of the same name. The same page says AVD on Azure Local does not use short-lived VMs and supports Arc on the desktop VMs. Learn's Hybrid pages do not say whether pooled, re-imaged hosts are supported, so plan persistent hosts and test a replacement cycle first.
  • Do not run azcmagent connect on a golden image before cloning, because clones would share one Azure resource ID. You can install the azcmagent package into the image and connect each clone afterwards with a unique name. Learn names a 429 error as a symptom and gives azcmagent disconnect --force-local-only followed by a new azcmagent connect as the fix.
  • If Group Policy manages "Log on as a service", add NT SERVICE\himds, which runs the Hybrid Instance Metadata Service.
  • Exclude the installer location from antivirus scans during installation.
  • For TLS, Learn says Windows agents from version 1.56 need at least one of the listed cipher suites for TLS 1.2 or 1.3, for example TLS_AES_256_GCM_SHA384 or TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384.

3. Network

Azure Arc. The agent communicates outbound over TCP port 443. Learn lists these service tags: AzureActiveDirectory, AzureTrafficManager, AzureResourceManager, AzureArcInfrastructure, Storage and AzureFrontDoor.Frontend (required as of April 2026). Among the URLs marked "Always" are login.microsoftonline.com, .login.microsoft.com, pas.windows.net, .his.arc.azure.com, .guestconfiguration.azure.com, guestnotificationservice.azure.com and .servicebus.windows.net (or azgn.servicebus.windows.net). management.azure.com is needed when you connect or disconnect a server, and download.microsoft.com at installation and automatic update time. For regional Entra token endpoints, allow .login.microsoft.com or <region>.login.microsoft.com for each region where the servers are registered. Learn says the Arc agent does not support a Log Analytics gateway as a proxy and names an Arc private link scope as an alternative to public paths. If you filter by AzureArcInfrastructure, allow the full tag range, not only a regional one.

Traffic is light: Learn gives a heartbeat every five minutes (under 64 KB) and one persistent WebSocket connection.

Azure Virtual Desktop. The deployment page requires that session hosts reach the AVD required URLs. In the Azure cloud list, these include login.microsoftonline.com (TCP 443), .wvd.microsoft.com (TCP 443), .service.windows.cloud.microsoft, .windows.cloud.microsoft and .windows.static.microsoft (TCP 443), mrsglobalsteus2prod.blob.core.windows.net (agent and side-by-side stack updates), gcs.prod.monitoring.core.windows.net and *.prod.warm.ingest.monitor.core.windows.net (agent traffic), and azkms.core.windows.net on TCP 1688 (listed for Windows activation; Learn does not say whether Hybrid hosts need it). The same table also lists catalogartifact.azureedge.net and wvdportalstorageblob.blob.core.windows.net (TCP 443), UDP 3478 to 51.5.0.0/16 for relayed RDP, and certificate endpoints on TCP 80 (for example oneocsp.microsoft.com and ctldl.windowsupdate.com). Build firewall rules from Learn's current table, not from this summary. Learn says Microsoft does not support deployments where these entries are blocked. It recommends service tags and FQDN tags, notes that AVD has no IP address list to allow instead of FQDNs, and says a Next Generation Firewall needs a dynamic list made for Azure IP addresses.

The same page lists two Azure fabric addresses, 169.254.169.254 and 168.63.129.16, for session host VMs and Cloud PCs, and says traffic to them must not be intercepted, proxied or redirected. Two other Learn pages bear on on-premises hosts. The Azure fabric communication IPs page calls both addresses Azure-internal and non-routable and says they cannot be accessed from outside Azure or from on-premises networks. The Hybrid troubleshooting page says the extension's failed call to 169.254.169.254 ("Assuming it's not present") is not an error: IMDS is unreachable on Arc machines, the extension falls back to the Hybrid Instance Metadata Service, and no action is needed. Learn's Hybrid pages give no requirement for 168.63.129.16. The fabric IP page also lists in-VM settings to check: host firewall rules allowing outbound TCP to 169.254.169.254 on port 80 and to 168.63.129.16 on ports 80 and 32526, proxy bypass lists that include both addresses, and split tunneling or bypass rules for VPN clients and secure web gateway agents.

The Azure Virtual Desktop Agent URL Tool checks the other endpoints. It ships with the RDAgent and does not verify wildcard entries. Our suggestion: allow the wildcards first, and test the FQDNs from the host network segment before the first host registers.

Proxies. Learn recommends bypassing proxies for AVD traffic, because the traffic is already encrypted. It advises against SSL termination, which replaces the certificates of the AVD components and can stop the agent by interfering with its trusted connection to the service. It also advises against authenticating proxies, which the AVD components do not support because they run in the context of the operating system.

Clients. Users need the end-user endpoints from the same page, for example graph.microsoft.com on TCP 443. Windows App is the client that Learn names for Hybrid.

4. Register the host

In the portal:

  1. Open Azure Arc, then Infrastructure, then Machines, and select the machine.
  2. Under Settings, select Extensions, then Add.
  3. Select the Azure Virtual Desktop Hybrid extension and select Next.
  4. Choose the subscription, resource group and host pool, then Review + Create and Create.

In PowerShell, you need the Az.DesktopVirtualization and Az.ConnectedMachine modules. Generate a registration key (Learn's example uses 24 hours), then run the extension with it:

$expiresUtc = (Get-Date).ToUniversalTime().AddHours(24).ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ")
$regInfo    = New-AzWvdRegistrationInfo -ResourceGroupName $HostPoolRG -HostPoolName $HostPoolName -ExpirationTime $expiresUtc
$protectedSettings = @{ registrationToken = $regInfo.Token }
New-AzConnectedMachineExtension -Name 'Microsoft.AzureVirtualDesktop.CloudDeviceExtension' -ResourceGroupName '<ResourceGroupName>' -MachineName '<MachineName>' -Location '<Azure Region>' -Publisher 'Microsoft.AzureVirtualDesktop' -ExtensionType 'CloudDeviceExtension' -ProtectedSetting $protectedSettings

On Windows Server, the extension enables the Remote Desktop Session Host role and reboots the host if it has to install it. Install the role first to avoid that reboot.

5. Verify

  1. In the Arc machine's Extensions list, the status of Microsoft.AzureVirtualDesktop.CloudDeviceExtension shows Succeeded. The PowerShell check is Get-AzConnectedMachineExtension.
  2. In the host pool's Session hosts list, the host is Available. Learn says this can take up to 15 minutes after the extension succeeds.
  3. If a host does not appear, check the Arc side first. The agent sends a heartbeat every five minutes, and Learn says a server silent for more than 15 minutes may be offline, blocked by the network or have a stopped agent. Logs are in %ProgramData%\AzureConnectedMachineAgent\Log (himds.log, azcmagent.log).
  4. If Arc is healthy and the host is still not Available, read the extension log in C:\ProgramData\GuestConfig\extension_logs\Microsoft.AzureVirtualDesktop.CloudDeviceExtension\ and search for [Fatal]. Learn's Hybrid troubleshooting page maps messages to causes: an invalid or expired registration token (generate a new one; Learn allows an expiration of up to 27 days, and its example uses 24 hours), a token tenant that differs from the machine's ("Cross-tenant registration is not permitted"), an unreachable broker (*.wvd.microsoft.com, port 443), a WebSocket that is not established, and NAME_ALREADY_REGISTERED when a host with that VM name already exists in the host pool.
  5. Also check the Reader role on the Arc resource group and the required endpoints, then work through the article "Azure Virtual Desktop Session Host Shows Unavailable: A Step-by-Step Checklist".

Sources

Follow the showApple PodcastsSpotify

FAQ

Which Azure resource providers do I have to register for Azure Virtual Desktop Hybrid?

The Hybrid deployment page requires Microsoft.DesktopVirtualization in the subscription. The Azure Arc prerequisites page requires Microsoft.HybridCompute, Microsoft.GuestConfiguration and Microsoft.HybridConnectivity. Microsoft.AzureArcData is only for Arc-enabled SQL Server, and Microsoft.Compute is listed for Azure Update Manager and automatic extension upgrades.

How long does a session host take to show as Available?

Learn says it can take up to 15 minutes for the session host to report Available in the host pool after the Arc extension reports Succeeded.

Do I need to open inbound firewall ports?

No inbound ports are listed. The Azure Connected Machine agent communicates outbound over TCP port 443. The Azure Virtual Desktop required-endpoints page says all entries are outbound and that you do not need to open inbound ports for Azure Virtual Desktop.

Entities in this article

Topics of this article:

Azure Virtual Desktop Hybrid – Product by Microsoft Azure Virtual Desktop – Cloud platform by Microsoft

Related articles

More articles on Azure Virtual Desktop:

RSS