Fabrikam has a pooled Azure Virtual Desktop host pool named HP2 that uses standard management. HP2 will contain session hosts on Azure Local.
- The Azure Local instance is registered with Azure and runs version 23H2.
- The on-premises network has a stable connection to Azure.
- A static logical network with automatic IP allocation has been created on the instance.
- A Windows 11 Enterprise multi-session image is available on the instance.
- Admin1 has the Desktop Virtualization Host Pool Contributor and Virtual Machine Contributor roles on the resource group.
Admin1 will create and add the session hosts by using the Azure Virtual Desktop service in the Azure portal.
What must you do before Admin1 can create and add the session hosts?
Every Azure Local prerequisite in the scenario is already met: the instance is registered and runs version 23H2, it has a stable connection, a supported logical network and a Windows image. Arc VM management is installed automatically. The missing piece is permissions: for Azure Local, the portal deployment needs Desktop Virtualization Host Pool Contributor together with Azure Stack HCI VM Contributor on the resource group. Virtual Machine Contributor is the role for session hosts on Azure, so it does not cover this case. The Connected Machine agent prerequisite applies only to VMs created outside the Azure Virtual Desktop service.
- Not correct: Replace the static logical network with a DHCP logical network. Both DHCP logical networks and static logical networks with automatic IP allocation are supported, so the existing network already meets the requirement.
- Not correct: Assign Admin1 the Virtual Machine Contributor role at the subscription scope. Virtual Machine Contributor is the role listed for session hosts on Azure, and the resource group is the stated minimum scope. Azure Local deployments need Azure Stack HCI VM Contributor instead.
- Not correct: Install Azure Arc VM management on the Azure Local instance. Azure Arc VM management is installed automatically on a registered Azure Local instance running version 23H2 or later, so no manual installation is needed.
- Not correct: Install the Azure Connected Machine agent on each session host VM. The cited prerequisite calls for installing this agent when VMs are created through another method, such as a pipeline. Admin1 is using the Azure Virtual Desktop creation process.
- Correct: Assign Admin1 the Azure Stack HCI VM Contributor role on the resource group. For Azure Local, creating and adding session hosts in the portal requires Desktop Virtualization Host Pool Contributor plus Azure Stack HCI VM Contributor. Admin1 has only the first of these.
- Add session hosts to a host pool - Azure Virtual DesktopMicrosoft Learn