Azure Host Pool validation environments and agent versions

SebastianD-5208 0 Reputation points
2026-08-05T10:11:03.3733333+00:00

Hello there,

we are currently trying to narrow down a problem regarding crashes in AVD & have noticed the different agent versions on our envionments.

Many of our hosts run on validation versions according to https://learn.microsoft.com/en-us/azure/virtual-desktop/whats-new-agent . (e.g. 1.0.15294.200, 1.0.15008.300, 1.0.15008.200)

Due to an error in our IaC configuration they corresponding hostpool had the validation environment flags set to "Yes" which I thought explained the agent version. However, after setting the host pool flag validation environment to "No", deleting and redeploying the hosts, they still get a non-production version of the avd agent.

Am I understanding the flag wrong? My expectation is, that non-validation environments shouldn't get validation versions of agents. Is there any way to force a downgrade of the agent or simply an install & fix on production versions only for a host pool?

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

3 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Vinodh247-1375 44,476 Reputation points Volunteer Moderator
    2026-08-31T16:36:21.3833333+00:00

    Yes, your understanding is largely correct. The Validation environment setting determines whether a host pool participates in the validation update ring and receives updates earlier than production host pools. However, it is not an agent version pinning or rollback mechanism.

    When you change: ValidationEnvironment = No

    you are preventing the host pool from receiving future validation updates, but Azure Virtual Desktop does not automatically downgrade session hosts that have already received a newer agent version.

    A few things are worth checking:

    1. Verify the host pool configuration

    Get-AzWvdHostPool `
      -ResourceGroupName "<RG>" `
      -Name "<HostPool>" |
      Select-Object HostPoolName, ValidationEnvironment
    
    
    

    Confirm that ValidationEnvironment is set to False.

    2. Review your provisioning process

    Since you mentioned an IaC issue, check whether Terraform, Bicep, ARM templates, DSC, custom scripts, or your VM image are:

    • Installing a specific AVD Agent version.
    • Containing a pre-installed AVD Agent.
    • Downloading a cached or bundled agent installer.
    • Applying additional configuration independent of the host pool setting.

    3. Validate the agent version against the current release table

    Do not assume a version is still a validation-only release based solely on its numbering. Compare the exact version with Microsoft's current AVD Agent release history:

    https://learn.microsoft.com/azure/virtual-desktop/whats-new-agent

    Some versions that were initially released through validation can later become part of the broader rollout.

    Can you force a downgrade ?

    There is no host pool setting that forces a downgrade or pins session hosts to a specific production agent version. The Validation environment flag only controls participation in the validation ring. Agent installation and updates are managed separately.

    For troubleshooting, a useful test would be:

    1. Create a new host pool with ValidationEnvironment=False.
    2. Deploy a brand-new VM from a clean image.
    3. Register it to the host pool.
    4. Record:
      • AVD Agent version
        • AVD Agent Boot Loader version
          • VM image/version
            • Provisioning method
            1. Monitor whether the agent updates and what version is ultimately installed.

    If a completely fresh session host connected to a host pool with ValidationEnvironment=False still receives a version currently listed as a validation release, the next place to investigate would be the image or provisioning workflow rather than the host pool setting itself.

    Also, for your crash investigation, make sure to capture both the AVD Agent version and the AVD Agent Boot Loader version, as they are separate components and can be relevant when correlating crashes with updates.

    ValidationEnvironment=False is the correct production setting, but it does not trigger agent rollback or version pinning. I would focus on verifying the host pool configuration and tracing exactly how the agent is being installed during VM provisioning.

    Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.

    Was this answer helpful?

    0 comments No comments

  3. Allan Solomon Mejia 7,915 Reputation points
    2026-08-05T19:33:48.3066667+00:00

    Hello @SebastianD-5208

    The Validation Environment setting controls whether a host pool is enrolled to receive validation (pre-release) AVD agent updates, but changing the setting doesn't necessarily trigger an immediate downgrade if a session host has already received a newer validation agent.

    A few points that may help narrow this down:

    • Verify that the host pool's Validation environment property is now set to No (or disabled) and that the change has propagated.
    • New session hosts should normally install the current production agent unless they're explicitly enrolled in the validation ring.
    • Existing hosts that have already installed a validation agent typically aren't downgraded automatically. The Azure Virtual Desktop agent is designed to move forward through the update channels rather than roll back.
    • If you've redeployed the session hosts and they're still installing validation builds, double-check that your IaC templates (Bicep/Terraform/ARM) aren't inadvertently setting the validation flag during deployment, and ensure you're registering the hosts with the intended host pool.

    To help troubleshoot further, could you confirm:

    • Are you deploying with Terraform, Bicep, ARM, or another IaC tool?
    • What does the Validation environment property show in the Azure portal for the affected host pool?
    • Are these newly created session hosts, or are you reusing existing VM images?
    • Are all affected hosts reporting the same agent version, or is it mixed across the pool?

    Microsoft doesn't provide a supported mechanism to manually force an older AVD agent version. If the host pool is no longer enrolled in the validation ring and newly deployed hosts continue to receive validation builds, that would warrant further investigation, as it could indicate a deployment configuration issue or a backend service behavior.

    Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.

    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.