Every assembly we author -- AutopilotMonitor.Agent.exe, AutopilotMonitor.SummaryDialog.exe and the three AutopilotMonitor.*.dll beside them -- is signed with AzureSignTool (pinned 7.0.1) against a certificate in the corporate code-signing Key Vault, SHA-256 file digest plus an RFC-3161 timestamp. Third-party assemblies keep their own publisher's signature. The position of the step is load-bearing: signing rewrites the PE file, so it has to run before the staging copy, the ZIP and every SHA-256 in "Create release artifact". Those hashes are the bootstrap's integrity oracle (version.json, AdminConfiguration) -- signing after hashing would publish hashes that no downloaded file can ever match. The signing identity is a SECOND federated principal in the same tenant and logs in FIRST, only to fetch a Key Vault token; the storage login of D-222 follows and owns the az context from there, because azure/login sets the default account and the last login wins. Both federated credentials carry the subject repo:okieselbach/AutopilotMonitor:ref:refs/heads/main, so this job must never be given a GitHub 'environment:' -- that rewrites the OIDC subject claim and would break BOTH logins at once. No unsigned fallback and no dispatch input to skip signing: a missing repository variable, a Key Vault failure or a non-zero azuresigntool exit code fails the run before anything is published. azuresigntool is a native tool, so $LASTEXITCODE is checked explicitly -- PowerShell does not throw on a non-zero exit, and a silently unsigned release is exactly the outcome signing exists to prevent. Verification runs against the STAGED bytes, not the build output: every AutopilotMonitor.* PE in the ZIP must be Valid, must carry a timestamp (without one the signature dies with the certificate) and all of them must share one signing certificate. Setting the optional repository variable CODE_SIGN_EXPECTED_SUBJECT additionally pins the publisher, so the gate proves "signed by us" instead of "signed by someone trusted". The build provenance attestation now covers the ZIP and both EXEs, so an extracted binary can be verified without the ZIP. Authenticode and the attestation answer different questions and both stay: who published this binary (offline, what Windows, SmartScreen and WDAC evaluate) versus which build produced these exact bytes (gh attestation verify). Not covered here: the customer bootstrap script (its signature block changes the published bytes and must follow the dev render; see B-57c, the two-stage loader), the bootstrap MSI, and the local build.ps1 path, which from now on produces unsigned bits. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Autopilot Monitor
Autopilot Monitor is an open-source, real-time monitoring and troubleshooting platform for Windows Autopilot and Microsoft Intune enrollment. It records enrollment events, application installations, policies, device state, and diagnostics while provisioning is still running, instead of collecting logs by hand after a failure. Administrators get live enrollment tracking, Enrollment Status Page (ESP) visibility, detailed session timelines, automated issue detection, on-demand diagnostics, fleet health analytics, and AI-assisted troubleshooting through a hosted Model Context Protocol (MCP) server.
The platform supports classic Windows Autopilot and modern Intune provisioning scenarios, including Windows Autopilot Device Preparation.
Availability
Autopilot Monitor is publicly available — the Community plan is free. Sign in with your work account at autopilotmonitor.com; new organizations complete a short activation step after first sign-in.
Key Features
- Real-time Windows Autopilot monitoring — follow device provisioning while enrollment is still running
- Detailed enrollment timelines — correlate Autopilot, ESP, Intune Management Extension, apps, policies, device state, and system events
- Enrollment Status Page visibility — see which phase, application, or policy is delaying provisioning
- Automated issue detection — define custom analysis rules that identify known failure patterns
- Targeted evidence collection — gather registry values, event log entries, files, log-parser matches, and allow-listed commands when specific conditions are detected
- On-demand diagnostics — request diagnostics packages from enrolled devices remotely
- Fleet health analytics — success rates, deployment duration, device models, applications, errors, and recurring issues
- Session reporting — inspect and share detailed enrollment information for individual devices
- Windows Autopilot Device Preparation support — monitor Device Preparation deployments alongside classic Autopilot scenarios
- Centralized agent configuration — control diagnostic behavior, automatic reboots, timezone adjustment, and other monitoring settings from the web dashboard
- AI-assisted troubleshooting — query enrollment data through the built-in Model Context Protocol server
How it works
Autopilot Monitor consists of several components working together throughout Windows enrollment:
- Bootstrap Script — PowerShell script deployed through Microsoft Intune that starts monitoring early in the provisioning 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, troubleshooting, and fleet analytics
- MCP Server — Model Context Protocol server that lets AI assistants query Autopilot Monitor data in natural language
Windows Autopilot and Intune Troubleshooting
Autopilot Monitor helps investigate common Windows provisioning and enrollment problems such as:
- Windows Autopilot deployments that fail or appear stuck
- Enrollment Status Page (ESP) delays and unusually long deployment phases
- Win32 application installation failures and slow application downloads
- Intune Management Extension problems
- Microsoft Entra join, Hybrid Join, and device registration issues
- policies that block or delay provisioning
- inconsistent behavior across hardware models and recurring failures affecting multiple devices
Because telemetry is collected during enrollment, many problems can be investigated without reproducing the issue or manually collecting logs from the affected device.
AI Integration (MCP)
Autopilot Monitor ships a hosted Model Context Protocol server. Connect Claude Desktop, VS Code, or any MCP client that speaks Streamable HTTP with OAuth, and ask questions like:
- "Show me all failed enrollments from the last 24 hours and group them by failure reason."
- "Why did session X fail, and which app install caused the delay?"
- "Which devices had unusually long ESP application phases this week?"
- "Which device models have the highest Autopilot failure rate?"
- "Which devices in my fleet are affected by CVE-2024-30078?"
Server URL: https://mcp.autopilotmonitor.com/mcp — sign-in runs through your existing work account, access is scoped to your tenant exactly like in the portal, and the MCP server stores no credentials. Setup guide: AI Integration (MCP).
Documentation
Full admin documentation is available at docs.autopilotmonitor.com — deployment, configuration, monitoring, diagnostics, troubleshooting, analysis and gather rules, integrations, and AI-assisted troubleshooting.
Open Source
Autopilot Monitor is developed openly on GitHub. The source is published so that customers and security reviewers can see what runs on their devices and with their data: the repository contains the device agent, shared library, backend, web dashboard, and MCP server.
Feedback
Bug reports and feature requests go through Issues, questions and ideas through Discussions. Security issues are reported privately, see SECURITY.md. For a problem in your own tenant, the Report Session button in the portal is the fastest path.
License
This project uses a split licensing model. The root LICENSE is AGPL-3.0, which covers the server-side components; the device-side components carry their own MIT license file:
- MIT License — Agent (
src/Agent/) and Shared library (src/Shared/) — unrestricted use on end-user devices, no copyleft obligations - AGPL-3.0 — Backend (
src/Backend/), Web Dashboard (src/Web/), and MCP Server (src/McpServer/) — modifications to server-side components remain open source, especially when deployed as a network service
The Shared library is MIT because it is a dependency of the MIT-licensed Agent. The license file inside each component directory is authoritative for that component.



