Desktop Virtualization host pool should be a validation environment for testing updates

Medium Azure General hostpools-desktop-virtualization-host-pool

Applies to

  • Microsoft.DesktopVirtualization/hostPools

What CGPulse checks

A resource passes this rule when validationEnvironment must equal true. Anything else is reported as a finding with the evaluated property value attached as evidence.

How to fix it

Mark the host pool as a validation environment to test service updates before production rollout. In Azure Portal: Host pool > Properties > enable Validation environment. See: https://learn.microsoft.com/en-us/azure/virtual-desktop/configure-validation-environment

CLI

az desktopvirtualization hostpool update --ids "{id}" --validation-environment true

Terraform

resource "azurerm_virtual_desktop_host_pool" "{name}" {
  name                     = "{name}"
  resource_group_name      = "{rg}"
  location                 = var.location
  type                     = "Pooled"
  load_balancer_type       = "BreadthFirst"
  validate_environment     = true
}

Compliance frameworks

Is your environment compliant with this rule?

CGPulse checks it — and 621 others — against your Azure and AWS accounts with read-only access.

Run a free scan

Related Azure rules

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.