Add option to select host pool management type during deployment #850
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements the ability for operators to choose the host pool management type during AVD Landing Zone Accelerator deployment, addressing the need to support both manual session host registration and automated session host provisioning (Preview).
Problem
Currently, the AVD Landing Zone Accelerator only creates host pools without session host configuration, which requires manual addition of session hosts using a registration key. Operators who need the new Azure Virtual Desktop session host configuration feature (which enables automated provisioning) must create an additional host pool manually after deployment, leading to:
Solution
Added a new dropdown control in the deployment wizard's "Host pool settings" section that allows operators to select:
Changes
Portal UI (
workload/portal-ui/portal-ui-baseline.json
)Bicep Templates
AVM Host Pool Module (
avm/1.0.0/res/desktop-virtualization/host-pool/main.bicep
):managedBy
parameter with allowed values:Unmanaged
andAutomaticSessionHostConfiguration
2025-03-01-preview
to2025-04-01-preview
to support themanagedBy
propertyManagement Plane Module (
workload/bicep/modules/avdManagementPlane/deploy.bicep
):hostPoolManagedBy
parameterBaseline Deployment (
workload/bicep/deploy-baseline.bicep
):avdHostPoolManagedBy
parameter with default valueUnmanaged
Screenshots
The implementation matches the Azure Portal's native behavior shown in the issue screenshots, where the "Uses Session Host Configuration" field indicates whether a host pool has this capability enabled.
Backward Compatibility
✅ Fully backward compatible
Unmanaged
, maintaining current behaviorBenefits
Testing
Related Documentation
Closes #[issue-number]
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
aka.ms
bicep build workload/bicep/modules/avdManagementPlane/deploy.bicep
(dns block)bicep build workload/bicep/deploy-baseline.bicep
(dns block)bicep build avm/1.0.0/res/desktop-virtualization/host-pool/main.bicep
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
Fixes #834
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.