Where Them
Logs App
WTLA-01

Intune MDM Agent

2 log locations · macOS

Microsoft Corporation · Vendor documentation (opens in a new tab)

Where Intune MDM Agent keeps its logs

Intune MDM Agent logs to /Library/Logs/Microsoft/Intune/ on macOS. 1 other macOS log location is recorded below. These paths were verified for pkg installs - a different installer, or a portable copy, can put them somewhere else.

Paths are printed exactly as Intune MDM Agent writes them. Environment variables like %LOCALAPPDATA% and $XDG_STATE_HOME are never expanded, so a path can be pasted straight into a shell. Where a path differs between installer types or shipping flavours, each one is racked as its own card below - why that happens.

Finding your way around macOS.

MAC

Intune MDM Agent - macOS

Microsoft Corporation
Daemon logs/Library/Logs/Microsoft/Intune/- Root context: app installs, scripts run as root, policy check-ins
1 file in this folder
Agent logs~/Library/Logs/Microsoft/Intune/- User context: scripts run as the signed-in user
1 file in this folder
pkgx64arm64systemper-user
Wrong path? Add a variant

How to collect Intune MDM Agent logs

  1. In the Intune admin center, go to Devices > macOS, select the device and choose Collect diagnostics. The agent uploads both log folders, plus any file paths the admin lists.
  2. On the device, copy /Library/Logs/Microsoft/Intune/ and ~/Library/Logs/Microsoft/Intune/. The newest IntuneMDMDaemon file updates in real time during a sync, so force one from Company Portal > Settings > Sync first.
  3. For the Company Portal side of the story, open Company Portal, choose Help > Save diagnostic report; the zip holds CompanyPortal.log.