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

15 lines
No EOL
630 B
Markdown

# 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:
```sh
fleetctl apple-mdm enqueue-command InstallProfile --device-ids=<TARGET_DEVICE_ID> --mobileconfig ./tools/mdm/apple/turn_on_debug_mdm_logging.mobileconfig
```
2. Check the profile was successfully installed in "System Preferences" -> "Profiles".
3. Then on the device run the following command:
```sh
log stream --info --debug --predicate 'processImagePath contains "mdmclient"' | tee mdm_logs.txt
```