avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

Collection method

methods/collection.md · Edition 8875905 of avd-assess, 2026-11-11. What changed

What to collect about an AVD estate, from where, and how private each fact is. avd-current-state implements this method; the facts it writes are avd-second-brain's contract C11, named by the fact register (C15).

Method

  1. Read the control plane with Reader only, through Azure Resource Graph where it has the property, one query per resource type, and REST where it doesn't. Cmdlets that reshape output are a last resort, and deterministic collection never routes through an LLM or MCP server ([1, typed-vs-cli-wrapper]). APRL's AVD queries show the Resource Graph shapes for host pools and scaling plans ([2]). Host pools are in the Resources table and only session hosts in DesktopVirtualizationResources ([3, dv-table-session-hosts]); each fact's table, type and property is in method.json ([G1]).
  2. Run WARA's collector for reliability (Start-WARACollector -AVD) and keep its JSON, not its Excel or PowerPoint ([4, collector-avd-json], [4, report-needs-windows]). It covers Reliability only ([4, reliability-only]), so the other pillars come from step 1.
  3. Redact before anything leaves the operator's session. Facts are counts, booleans, public Azure values and keyed pseudonyms, with no names, IDs, addresses or free text. Each fact's privacy class is in the register ([G2] lists the facts the checks need).
  4. Ask the intake questions that telemetry can't answer ([G3]), and the discovery questions about who uses the estate for what ([G4], use case method).
  5. Measure latency where the user is, from the user's device against regional endpoints, never from Cloud Shell ([O1], [5, rtt-under-150]).
  6. For measured use, read the AVD Insights data the estate already collects (time to connect by stage, round-trip time, input delay, the recommended performance counters) over a stated window, read-only, with Log Analytics Reader ([6, time-to-connect-stages], [7, counter-set], [8, reader-roles]). Take each measure's query from the Insights workbooks rather than writing a new one ([9, queries-define-measures]). Reading existing Insights data is in scope; turning on new collection in an estate is a change, made by whoever runs it. The measured facts and their open questions are in [G5].
  7. Don't build a general inventory; wrap ARI for it. For a full inventory and a network diagram, use ARI as an opt-in step ([10, excel-inventory]). Its diagram draws from the Resource Graph rows it is given ([10, diagram-from-rows]), so the rows are redacted before it draws, keeping each ID's shape. An AVD overlay and stable IDs are our additions. The collector, the validator and the C11 facts never require ARI.

Not yet known

  • Which checklist items need facts the collector doesn't read yet: the profile storage region ([G2]), and the monitoring configuration per AVD object and host ([G5]).
  • Image optimization state inside the guest isn't visible from the control plane ([11, categories]). What is visible is the WDOT pin and profile an image version records, when its build tagged it ([O2]); an untagged image's state stays unknown, not failed.

References

  1. [1]Microsoft Learn. Azure MCP Server tools for Azure Virtual Desktop and server startup modes. Pinned at git_commit_id ffc3b47, updated 2026-10-16; read 2026-11-09. Claims cited: typed-vs-cli-wrapper. Source · Entry
  2. [2]GitHub, Azure/Azure-Proactive-Resiliency-Library-v2. Azure Proactive Resiliency Library v2, Microsoft.DesktopVirtualization. Pinned at commit 153914b; read 2026-10-20. Source · Entry
  3. [3]Microsoft Learn. Azure Resource Graph table and resource type reference. Pinned at git_commit_id 464ed4c, updated 2025-10-06; read 2026-10-20. Claims cited: dv-table-session-hosts. Source · Entry
  4. [4]GitHub, Azure/Well-Architected-Reliability-Assessment. Well-Architected Reliability Assessment (WARA). Pinned at commit 8683227; read 2026-10-20. Claims cited: collector-avd-json, report-needs-windows, reliability-only. Source · Entry
  5. [5]Microsoft Learn. Prerequisites for Azure Virtual Desktop. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: rtt-under-150. Source · Entry
  6. [6]Microsoft Learn. Azure Virtual Desktop Insights glossary. Pinned at git_commit_id 6d2a917, updated 2026-05-25; read 2026-10-20. Claims cited: time-to-connect-stages. Source · Entry
  7. [7]Microsoft Learn. Estimate Azure Virtual Desktop monitoring costs. Pinned at git_commit_id 6d2a917, updated 2026-05-25; read 2026-10-20. Claims cited: counter-set. Source · Entry
  8. [8]Microsoft Learn. Enable Insights to monitor Azure Virtual Desktop. Pinned at git_commit_id ec0c680, updated 2025-06-25; read 2026-10-20. Claims cited: reader-roles. Source · Entry
  9. [9]GitHub, microsoft/Application-Insights-Workbooks. AVD Insights workbook source (Application Insights Workbooks repo). Pinned at commit 92cdb7c; read 2026-10-20. Claims cited: queries-define-measures. Source · Entry
  10. [10]GitHub, microsoft/ARI. Azure Resource Inventory (ARI). Pinned at commit 4cc602c; read 2026-10-20. Claims cited: excel-inventory, diagram-from-rows. Source · Entry
  11. [11]GitHub, The-Virtual-Desktop-Team/Windows-Desktop-Optimization-Tool. Windows Desktop Optimization Tool (WDOT). Pinned at commit f20d6b7; read 2026-10-20. Claims cited: categories. Source · Entry

Our observations

What our own runs showed about a cited claim. Evidence links are public and pinned.

  1. [O1]extends region-latency-from-the-user, on avd-prerequisites#rtt-under-150, 2026-10-20. Latency measured from Cloud Shell says nothing about users, because Cloud Shell runs in an Azure datacenter. Measure round-trip time from the user's device, against endpoints verified to be regional.
  2. [O2]extends wdot-pin-on-image-version, on wdot#optimization-state, 2026-10-20. What runs inside the guest isn't visible from the control plane, but the landing zone's image build tags each gallery image version with the WDOT release, commit and profile hash it ran, so a Reader can see which pin and profile an image claims. Images built any other way carry no such record.

Our own method (gaps)

Where no published source covers a step, avd-assess writes the method and says what was searched and not found.

  1. [G1]collection-map: where each fact comes from.
  2. [G2]checklist-mapping: mapping facts to review checklist items.
  3. [G3]intake: intake.
  4. [G4]discovery: discovery.
  5. [G5]insights-facts: AVD Insights as evidence.

Cite this

avd-assess@8875905:methods/collection.md

Cite a claim as avd-assess@<commit>:references/<source>.yaml#<claim>. How to cite

Built from avd-assess at 8875905. Something wrong or missing? Open an issue or a pull request in avd-assess.