mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
97ca48f56ae0f22c4bcb18f4ce7117c9d64be96f
Root cause: MSAL fires handleRedirectPromise twice on page load, causing isAuthenticated to briefly flip false between the two settlements. This triggered ProtectedRoute to redirect to '/', which then re-authenticated and redirected to '/dashboard', causing the dashboard page to mount and unmount periodically while the user was viewing a session. Two fixes: 1. navigateToLoginRequestUrl: false — prevents MSAL from navigating to the stored login request URL after redirect settlement, eliminating the spurious navigation that caused the dashboard to mount. 2. ProtectedRoute unauthenticated redirect now waits 500ms before executing, giving MSAL time to complete its double-settlement cycle before we conclude the user is truly unauthenticated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Autopilot Monitor
Advanced monitoring and troubleshooting solution for Windows Autopilot deployments.
Overview
Autopilot Monitor provides real-time tracking, intelligent diagnostics, and automated troubleshooting for Windows Autopilot enrollment processes. It consists of:
- Bootstrap Script — PowerShell script deployed via Intune that starts monitoring early in the enrollment process
- Monitoring Agent — Lightweight .NET application that collects telemetry and evidence during enrollment
- Backend API — Azure Functions-based ingestion and processing pipeline
- Web Dashboard — Next.js application for real-time monitoring and fleet analytics
Architecture
For detailed information about the system architecture, components, and data flow, see Architecture Documentation.
Documentation
Full documentation is available at autopilotmonitor.com/docs
License
MIT License — see LICENSE for details
Description
Windows Autopilot & Intune enrollment monitoring: live session timelines, fleet health, diagnostics, and an MCP server for AI-assisted troubleshooting.
autopilotdevice-managementdevice-provisioningendpoint-managementenrollmentintunemcp-servermonitoringmsintuneoobetroubleshootingwindowswindows-autopilot
Readme
AGPL-3.0
60 MiB
Languages
C#
72.7%
TypeScript
25.7%
PowerShell
1%
JavaScript
0.5%