fleet/tools/mdm/apple/troubleshooting.md
Lucas Manuel Rodriguez 2cb5b6224b
Update MDM demo docs (#8305)
* Update MDM demo docs

* Confirm linked guide works
2022-10-19 14:28:02 -03:00

630 B

Troubleshooting

Enable MDM debug logging on the device

  1. Install the ./tools/mdm/apple/turn_on_debug_mdm_logging.mobileconfig profile on the device manually (by double-clicking such file) or using Fleet MDM via:
fleetctl apple-mdm enqueue-command InstallProfile --device-ids=<TARGET_DEVICE_ID> --mobileconfig ./tools/mdm/apple/turn_on_debug_mdm_logging.mobileconfig
  1. Check the profile was successfully installed in "System Preferences" -> "Profiles".

  2. Then on the device run the following command:

log stream --info --debug --predicate 'processImagePath contains "mdmclient"' | tee mdm_logs.txt