0023. Support Azure Virtual Desktop on Azure Local via hostPlacement and existing contracts
Support AVD on registered Azure Local 23H2+ instances via hostPlacement, native Entra ID join, and existing SMB storage in v1.
Context and Problem Statement
How should the avd-ops family deploy, collect, and assess Azure Virtual Desktop session hosts running on Azure Local without duplicating control-plane repos or requiring a physical cluster in CI?
More
The family currently assumes all AVD session hosts run as Azure IaaS VMs (Microsoft.Compute/virtualMachines) with FSLogix profiles on Azure Files or Azure NetApp Files. Azure Local support appears only as an open network extension point (network.azure-local), an unimplemented scope gap (hybrid-scope), and two pinned Microsoft Learn sources in avd-assess (avd-azure-local and avd-azure-local-workload). Because AVD on Azure Local keeps the AVD brokering, workspace, and host-pool control plane in Azure while placing Microsoft.AzureStackHCI/virtualMachineInstances on an existing registered Azure Local 23H2+ instance (connected via Azure Arc Resource Bridge and Custom Locations), the family needs a clean way to represent, deploy, and score Azure Local host pools alongside Azure-hosted ones.
Considered Options
Three options were weighed.
- Extend existing contracts (
C11,C14,C19,C21) andavd-azure/avd-landing-zonewithhostPlacement, native Entra ID join, and existing SMB storage in v1 - Create a dedicated control-plane repository and new output contract (
C33) specifically for Azure Local session hosts - Keep Azure Local as reference-only documentation and defer collection and deployment support indefinitely
Decision Outcome
Chosen option: "Extend existing contracts (C11, C14, C19, C21) and avd-azure / avd-landing-zone with hostPlacement, native Entra ID join, and existing SMB storage in v1".
More
Why: Azure Local session hosts share the same Azure-hosted AVD control plane (avd-azure) and Bicep/AzAPI deployment pipeline as Azure-hosted pools, so extending existing contracts and modules avoids splitting the control plane or maintaining a redundant repository.
- Bring-your-own registered Azure Local 23H2+ instance: Physical hardware provisioning, OS installation, and Azure Arc Resource Bridge / Custom Location bootstrap are prerequisites out of scope for
avd-ops. - Strict host-pool separation (
hostPlacement: "azure" | "azure-local"): Peravd-azure-local#no-mixed-pools, host pools never mix Azure and Azure Local session hosts; mixed pools fail preflight and assessment checks. - Native Entra ID join only in v1: Aligns with
avd-landing-zone's cloud-native identity model viaMicrosoft.HybridCompute/machines/extensions(AADLoginForWindows) and PowerShell;avd-current-statestill detects and reports brownfield AD DS / hybrid-joined Azure Local pools. - Bring-your-own on-premises SMB in v1: Operators supply an existing clustered file server or external SMB share path (
localSmbProfilePath) for FSLogix profile containers rather than automating cluster storage provisioning in v1. - Extend
azure-outputs.json(noC33):avd-azureemits an optionalazureLocalblock insideazure-outputs.json, andC11/C14/C19/C21carryhostPlacement,azureLocalinventory, andreason: "azure-local-host"fornot-applicableAzure-IaaS-only checks. - Phased Terraform and offline CI (
standing: guarded):avd-hclfollows in a dedicated PR once Bicep/AzAPI shapes are proven; all repos validate offline via Bicep/AzAPI compilation, PSRule, schema checks, and mocked Pester/Node tests until a live Azure Local 23H2+ run upgrades claims torun.
Consequences
- Good, because
avd-assess,avd-current-state,avd-azure, andavd-landing-zonegain first-class Azure Local support without adding another control-plane repo or contract version. - Good, because v1 stays focused on cloud-native Entra ID join and existing SMB shares, avoiding fragile cluster-storage automation.
- Bad, because brownfield AD DS / hybrid-joined Azure Local deployments are assessed read-only in v1 rather than deployed by
avd-landing-zone, andavd-hclTerraform support lags Bicep by one phase.
More Information
Full specification and phased rollout plan across the family.
More
- Full specification: docs/azure-local-support-spec.md.
- Builds on decision 0009 and decision 0010.