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.

Troubleshooting and diagnostics method

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

How to find out why something is wrong in an AVD estate: which source answers which symptom, in what order to read them, and what stays unknown. It is the assessment method applied to the troubleshooting and diagnostics pillar (diagnostics in dimensions.yaml). It is the one pillar that is a flow rather than a list of settings, so it needs this page. Microsoft documents each component's troubleshooting; the method links to those pages and adds only the map that joins them: the data sources ([G1]), the error-code map ([G2]) and one triage flow per symptom. The monitoring pillar says the data must exist; this page says how to read it when something is wrong.

Method

  1. Start from the symptom the operator reports (intake.reportedSymptoms), and say whether it is one user, one host pool or everyone. With no symptom, read the facts in steps 3 and 4 and treat anything unusual as the symptom ([G1]).
  2. Rule out the platform first: Service Health for an AVD incident or advisory ([1, service-health-first], [2, service-issue-and-advisory]).
  3. Read host health from the API, which needs only Reader: status, failing checks, stale heartbeats, update state ([3, health-check-results], [4, status-load-balancing]). When an investigation agent reads live AVD state through MCP, start Microsoft's Azure MCP Server (microsoft/mcp) with --mode all --read-only --namespace virtualdesktop so a per-tool allowlist governs the typed virtualdesktop tools (virtualdesktop_hostpool_list, virtualdesktop_hostpool_host_list, virtualdesktop_hostpool_host_user-list; [5, read-only-flag], [5, all-mode-per-tool-allowlist], [5, typed-vs-cli-wrapper]); keep the CLI wrapper (Azure/azure-api-mcp --readonly) optional for interactive operator troubleshooting only.
  4. Read the service's own record if diagnostics are on: connection outcomes, transport and round-trip latency, errors by code and ServiceError, and logon checkpoints ([6, categories], [6, connection-states], [6, service-error-split], [O1]). When an investigation agent reads telemetry and estate context, query WVD* tables live by vetted KQL catalog ID (kql_catalog_run) rather than raw model-written KQL or embedding log rows into a vector index ([O2]), pair them with C11 facts gated by C15 (status: built and contract: C11) and cited passages from the deterministic Concierge, and verify every citation token in code before returning the answer. Absent diagnostics, the triage is blind on the service side; say so and hand the gap to the monitoring pillar.
  5. Follow the flow for the symptom: [G3], [G4], [G5], [G6], [G7]. Each names the sources in the order to read them and the pillar that owns the fix.
  6. Look every code up in the map, never by guess; an unmapped code stays unmapped ([G2], [7, errors-not-all-documented]).
  7. Go to the host, the directory or the client only when the flow says so, and record which read it needed: host event and FSLogix logs, Entra sign-in logs, client logs ([8, app-event-sources], [9, profile-log-first], [10, sign-in-logs-first], [11, per-platform]).
  8. Escalate what is the platform's: ServiceError true and anything past the component pages go to Microsoft with the correlation ID ([6, service-error-split], [1, escalation-tracks]).
  9. Record the finding as a fix in its owning pillar, not here: this pillar finds causes; the remediation method plans the change ([G8]).
  10. Record what stays unknown and why: no diagnostics, a connection that never reached the service, recent rows not yet ingested, or a read nobody could make ([6, unreached-not-logged], [7, ingestion-delay]).

Not yet known

  • Whether the flows find a fault planted on purpose. One sandbox run (a blocked required URL, a stopped agent, a full profile share) checks that the facts and the flows catch each; it is planned with the scaling batch and waits on a cost estimate and the owner's go.
  • What error counts, failure shares and connection times are normal. No source publishes one ([G1]); the estate's own last run is the comparison until evidence submissions give more ([G9]).
  • No check runs yet. The log facts need a Log Analytics read in the collector; the health check fact needs one more field from a read it already makes.

References

  1. [1]Microsoft Learn. Troubleshooting overview, feedback, and support for Azure Virtual Desktop. Pinned at git_commit_id 1b8057d, updated 2025-10-02; read 2026-10-21. Claims cited: service-health-first, escalation-tracks. Source · Entry
  2. [2]Microsoft Learn. Set up service alerts for Azure Virtual Desktop. Pinned at git_commit_id 981e833, updated 2025-06-25; read 2026-10-21. Claims cited: service-issue-and-advisory. Source · Entry
  3. [3]Microsoft Learn. Session Hosts - Get (Desktop Virtualization REST API, 2025-10-10). Pinned at git_commit_id bc0cce6, updated 2026-11-05; read 2026-11-09. Claims cited: health-check-results. Source · Entry
  4. [4]Microsoft Learn. Session host statuses and health checks in Azure Virtual Desktop. Pinned at git_commit_id 8f1c294, updated 2026-05-25; read 2026-10-21. Claims cited: status-load-balancing. Source · Entry
  5. [5]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: read-only-flag, all-mode-per-tool-allowlist, typed-vs-cli-wrapper. Source · Entry
  6. [6]Microsoft Learn. Send diagnostic data to Log Analytics for Azure Virtual Desktop. Pinned at git_commit_id 4fdc1dc, updated 2025-06-21; read 2026-10-21. Claims cited: categories, connection-states, service-error-split, unreached-not-logged. Source · Entry
  7. [7]Microsoft Learn. Troubleshoot Azure Virtual Desktop Insights. Pinned at git_commit_id 1b8057d, updated 2025-10-02; read 2026-10-21. Claims cited: errors-not-all-documented, ingestion-delay. Source · Entry
  8. [8]Microsoft Learn. Troubleshoot common Azure Virtual Desktop Agent issues. Pinned at git_commit_id 87a86c7, updated 2025-10-17; read 2026-10-21. Claims cited: app-event-sources. Source · Entry
  9. [9]Microsoft Learn. Troubleshooting with logging and diagnostics (FSLogix). Pinned at git_commit_id a61f79d, updated 2026-03-30; read 2026-10-21. Claims cited: profile-log-first. Source · Entry
  10. [10]Microsoft Learn. Troubleshoot single sign-on and Conditional Access for Azure Virtual Desktop. Pinned at git_commit_id 0dc406f, updated 2026-06-25; read 2026-10-21. Claims cited: sign-in-logs-first. Source · Entry
  11. [11]Microsoft Learn. Collect logs from Windows App. Pinned at git_commit_id c09348f, updated 2026-04-27; read 2026-10-21. Claims cited: per-platform. Source · Entry

Our observations

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

  1. [O1]extends transport-column-names-disagree, on configure-rdp-shortpath#verify-transport, 2026-11-10. Two Learn pages query a WVDConnections UdpUse column, while the table reference lists TransportType (Shortpath, TURN, Websocket) and no UdpUse, and Insights uses a third set of values. Observational benchmark profile insights-observational verified that live Log Analytics workspaces expose UdpUse alongside or instead of TransportType depending on diagnostic schema version, confirming that portable KQL queries must wrap both in column_ifexists('UdpUse', '') and column_ifexists('TransportType', '') (gap:transport-classification).
  2. [O2]extends sandbox-standing-meter-tradeoffs, on waf-cost-optimization-checklist#CO:08, 2026-11-08. Keeping a nonproduction sandbox retrieval stack under 1 USD/month standing (or about 10 USD/month with Static Web Apps Standard) uses deliberate tradeoffs against standing hourly meters. Instead of Azure AI Search Basic (about 73 USD/month standing; F0 caps at 50 MB without managed identity), WVD* and Perf stay in Pay-As-You-Go Log Analytics inside the 5 GB/month free allowance (31-day retention, 0.5 GB/day cap) queried via KQL catalog IDs and the read-only Azure MCP Server, while semantic memory lives in Git or Cosmos DB NoSQL Serverless vector search. Container Apps Consumption (minReplicas 0), Content Safety F0, LRS storage (shared keys off), Entra-only auth instead of Private Endpoints (about 7.30 USD/month each), and code-first KQL checks keep idle spend near zero.

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]diagnostics-scope: what a troubleshooting and diagnostics assessment can read, and which part becomes a fact.
  2. [G2]error-code-map: one map from the code an operator sees to its meaning and its flow.
  3. [G3]triage-cannot-connect: triage when a user can't sign in, sees no resources or can't connect.
  4. [G4]triage-host-unhealthy: triage when a session host is unhealthy.
  5. [G5]triage-slow-logon: triage when sign-in to a session is slow.
  6. [G6]triage-slow-session: triage when a session is slow or disconnects.
  7. [G7]triage-profile-failed: triage when a user profile fails to load.
  8. [G8]remediation-plan: the remediation plan.
  9. [G9]evidence-intake: one evidence intake for everyone.

Cite this

avd-assess@8875905:methods/diagnostics.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.