Lesson 1 of 9 · 24m
The MDM Mental Model: Authority, Enrollment, and Push
Learn what MDM can actually control, how enrollment establishes authority, and why push is only a wake-up signal.
The first time an MDM rollout went sideways for me, it was not because the payload was malformed. Half the fleet was enrolled through Automated Device Enrollment, half through user enrollment, and a handful were unenrolled pets people had carried through three office moves. The same command produced three different outcomes. On macOS, management is not a product feature; it is a chain of authority.
Management starts with enrollment identity
An MDM server cannot simply command a Mac because it knows its serial number. Enrollment creates the trust relationship: certificates, keys, an enrollment identity, and a check-in endpoint. The major enrollment shapes are:
Automated Device Enrollment org-owned, can be supervised, strongest control
Device Enrollment org-owned but manually enrolled, fewer guarantees
User Enrollment personally owned, privacy-preserving, limited control
unenrolled / manual admin local authority only, no fleet-wide trustBefore debugging any command, answer: how is this Mac enrolled, and what authority did enrollment grant?
Push is a nudge, not a remote-control channel
Apple Push Notification service tells the device that management work is available. The Mac then contacts the MDM server, receives commands, executes them locally, and reports status asynchronously. This explains the two classic failures:
command delivered, nothing happens -> device offline, push broken, or check-in failing
command appears twice -> MDM retried because acknowledgement was delayedTreat MDM as an eventually consistent control plane, not SSH with extra XML.
Inspect local enrollment state
On a managed Mac, start with:
profiles status -type enrollment
profiles show -type enrollment
sudo profiles listThe exact output varies by macOS release, but you are looking for enrollment type, server identity, installed configuration profiles, and whether user-approved or supervised status affects the operation. Never infer enrollment health solely from the MDM console's green checkbox.
Commands are queued intentions
MDM commands such as InstallProfile, DeviceLock, EraseDevice, RestartDevice, and InstallApplication are state transitions requested by the server. The device may accept, reject, defer, or acknowledge them later. Build workflows that tolerate retries and report terminal state instead of assuming success because the API returned 200.
Field notes
- Removing a profile manually does not necessarily unenroll the device; enrollment and profile lifecycles are separate.
- A wiped Mac can return through Automated Device Enrollment if the serial number remains assigned in Apple Business Manager.
- User Enrollment intentionally cannot read personal data or enforce every device-wide control. That is a design boundary, not an MDM outage.
- When a vendor console says "pending," inspect both server queue state and client check-in logs before reissuing the command.
Was this lesson helpful?