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.

avd-remediate

The troubleshooting, host-level telemetry collection, diagnosis and human-approved remediation workbench for Azure Virtual Desktop across all five control planes.

Built

What it does

  • Combines a 5-step guided portal (site/portal/) with a deterministic and redacted BYO-LLM troubleshooting assistant grounded in avd-assess, avd-current-state and avd-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-swarm plan handoff packages (Path C).
  • Verifies that any companion estate vault (--vault) is private before writing incident bundles, and scrubs all identifiers via redact.js before 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.

Read more