6.2MD-102Advanced
Est: ~15 minsVerified: 2026-08

Intune Management Extension (IME) Log Diagnostics

Master Windows client-side log investigation, diagnose Win32 app failures, troubleshoot proactive remediation scripts, and decode MDM enrollment errors.

Tags:#IME Logs#Troubleshooting#CMTrace#Diagnostics#Win32App#MD-102
01

Overview

When Windows policies, Win32 apps, or PowerShell scripts fail to apply on an endpoint, client-side log analysis is essential for identifying the precise root cause.

The Intune Management Extension (IME) service (Microsoft.Management.Services.IntuneWindowsAgent.exe) maintains continuous operational logs on every enrolled Windows client. Using tools like CMTrace or OneTrace, administrators can track app downloads, hash validations, execution return codes, and detection logic in real time.

---

02

Essential Client-Side Log Directory

TEXT
C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\
├── IntuneManagementExtension.log   # Primary log: Win32 apps, scripts, ESP progress
├── AgentExecutor.log              # Output from PowerShell scripts & detection scripts
├── ClientHealth.log               # IME agent health check and auto-update verification
└── Sensor.log                     # Endpoint Analytics telemetry and pro-active remediations

---

04

Key Search Terms in `IntuneManagementExtension.log`

Search StringWhat It Reveals
[Win32App]Identifies individual application evaluation, download, and execution blocks.
ExitCodeShows the exact numeric process exit code returned by the installer (0 = Success).
DetectionRuleShows whether the detection rule returned true (installed) or false (missing).
Hash validationVerifies whether the downloaded .intunewin SHA-256 hash matches tenant metadata.
rebootIdentifies if the application requested a mandatory hard or soft system reboot.

---

06

PowerShell Commands

Collect and Zip All Client-Side MDM & Diagnostic Logs Instantly:

PowerShell
# Built-in Windows MDM diagnostics collector
mdmdiagnosticstool.exe -area Autopilot;DeviceEnrollment;DeviceProvisioning -cab C:\IntuneDiagnostics.cab

# Inspect recent IME errors via PowerShell
Get-Content -Path "C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log" -Tail 50 | 
    Select-String -Pattern "error", "fail", "exitcode" -CaseSensitive:$false

---

10

Troubleshooting Matrix

Exit Code / ErrorTechnical Root CauseResolution
0x87D1041CDetection rule failed to locate the app after the installation command returned exit code 0.Fix detection rule (wrong file path, missing reg key, or slow MSI background registration).
0x87D1041ERequirement rule not met; hardware architecture (x86 vs x64) or minimum disk space failed.Review Requirement rules on the Win32 app in Intune Admin Center.
0x80070002File not found; the setup executable named in the install string was not in the root of the .intunewin package.Repackage source files with IntuneWinAppUtil.exe ensuring setup binary is at root level.

---

12

MD-102 Exam Notes

Exam Blueprint & High-Yield Traps

Key Exam Traps:

  1. The default location for Intune Management Extension logs is C:\ProgramData\Microsoft\IntuneManagementExtension\Logs.
  2. Standard Windows MDM policy logs are viewed in Event Viewer under:

Applications and Services Logs > Microsoft > Windows > DeviceManagement-Enterprise-Diagnostics-Provider > Admin.