avd-remediate
The troubleshooting, host-level telemetry collection, diagnosis and human-approved remediation workbench for Azure Virtual Desktop across all five control planes.
BuiltWhat it does
- Combines a 5-step guided portal (
site/portal/) with a deterministic and redacted BYO-LLM troubleshooting assistant grounded inavd-assess,avd-current-stateandavd-second-brain. - Runs allowlisted read-only diagnostic probes (
rebuild/scope.json) and collects host-level Windows Event Logs and performance counters across connectivity, FSLogix, session host health, identity/Intune/M365 and control-plane drift. - Generates human-approved remediation plans across three paths: Day-2 PowerShell/Bash fix blocks with preflight and rollback snapshots (Path A), plane-routed Contract C24 plans (Path B) and
avd-swarmplan handoff packages (Path C). - Verifies that any companion estate vault (
--vault) is private before writing incident bundles, and scrubs all identifiers viaredact.jsbefore any external LLM call or upstream KB export.
Try it in a lab
# Azure Cloud Shell (PowerShell)
if (-not (Test-Path ~/avd-remediate)) { git clone https://github.com/avd-ops/avd-remediate.git ~/avd-remediate }
Set-Location ~/avd-remediate; git checkout -q main; git pull -q --ff-only
node --test "tests/*.test.mjs"
Full prerequisites and steps are in the README.