Lesson 2 of 9 · 25m
Automated Device Enrollment and Declarative Management
Understand zero-touch provisioning, supervision, activation records, and how declarative device management changes the ownership of state.
Zero-touch enrollment feels magical until procurement forgets to assign a serial number in Apple Business Manager. Then a brand-new Mac boots like a consumer laptop, the user creates a local admin, skips half your setup, and you inherit a machine whose trust path is already wrong. Serious macOS administration starts before the first power button press.
The Automated Device Enrollment pipeline
The control flow is simple, but every arrow is a dependency:
Apple Business Manager
assigns serial number -> MDM server
MDM enrollment profile
defines supervision, pairing, setup behavior
Mac activation
retrieves enrollment record during Setup Assistant
MDM enrollment
establishes certificates and command channelFor org-owned fleet machines, require ADE assignment before shipment or pickup. If the machine cannot be enrolled invisibly, quarantine it until identity and enrollment are corrected.
Supervision is a security boundary
Supervision determines whether management can perform high-impact operations such as activation lock control, certain restrictions, and stronger update enforcement. For ADE devices, supervision is automatic. For older manually enrolled devices, it may be absent. Inventory this explicitly:
profiles status -type enrollment | egrep -i 'enrolled|supervised|dep'Exact labels change across releases, so record raw output in your asset notes rather than interpreting from memory.
Declarative Device Management changes the shape of control
Classic MDM sends commands and profiles. Declarative management sends a desired state model made from declarations:
{
"Type": "com.apple.configuration.passcode.settings",
"Identifier": "passcode-policy-1",
"Payload": {
"RequireAlphanumeric": false,
"MinimumLength": 8,
"MaximumFailedAttempts": 10
}
}The client maintains declarations, evaluates predicates locally, and reports status. This matters operationally: a device can converge even when the server is not orchestrating every step in real time.
Activation records and assignments deserve change control
Treat Apple Business Manager token renewal, default MDM assignment, and enrollment profile settings as production infrastructure. A careless edit to the default enrollment profile can affect every newly erased Mac. Keep version-controlled copies of enrollment settings where your MDM permits export, and document which settings are vendor-console-only.
Field notes
- ADE does not guarantee network access during Setup Assistant; captive networks are still a provisioning failure mode.
- Enrollment profiles that skip too many setup panes can leave users without required account or localization choices. Minimal is not the same as hostile.
- DDM availability depends on macOS version and declaration type. Check Apple's deployment reference for the exact release floor.
- Do not test erase or return-to-service workflows on your only administrative test Mac.
Was this lesson helpful?