Commands
In thisThe sectionDevice youeditor canprovides a Commands panel to send specificremote commands to a managed device. InAvailable commands depend on the includedplatform table,(Android youor can check all previously sent commandsApple) and ifdevice theystate. were successfully executed.
If the device is not currently online, the command will be delivered and executed as soon as the device connects to the Internet. YouFor Android commands you can set the Duration parameter to determine for how long aan undelivered command thatremains wasvalid. not
Android yet(AMAPI) deliveredcommands
shouldFor stillAndroid devices, the Commands panel includes a Duration field (value + unit) and a Command selector. Some commands require additional parameters, which appear dynamically when you select the command.
Common parameters
- Duration: how long the command is valid if it cannot be
valid.executed
LockLockimmediately. - Command:
thechoosedevice,whichasactioniftothesendlock screen timeout had expired.
Reboot
Commands Onlywith supportedadditional on API level 24+.
fields
- Reset password
- Lock now
:,lock the device after password reset (as theLockcommand). - Require entry
:,don'tandallow other admins to change the password again until the user has entered it. - Do not ask for credentials on boot.
- Clear app data:
don'trequiresaskthefortargetuserPackagecredentialsname. - Start lost mode: requires a Lost message and supports optional contact fields (street address, organization, phone number, email).
- Request device info: requires selecting which device information to request.
- Add eSIM: requires an Activation code and an Activation state.
- Remove eSIM: requires the eSIM ICCID.
- Wipe: supports a Wipe reason message (shown to users on
device boot (e.g. on kioskpersonal devices).and optional wipe flags.
Command history
RelinquishBelow ownership
Android wipedhistory andcolumns
- Creation
anydate - Command
- Validity
- Status
- Error
- Execution
devicedate
Apple policies(MDM) willcommands
beFor resetApple to factory state, while leaving personal data intact. In doing so, IT loses claim todevices, the ownershipCommands ofpanel provides a Command selector. Some commands require additional inputs. As with Android, a command history table is shown below.
Commands with additional fields
- InstallApplication: requires the
deviceapplicationnowBundleandID. - SendNotification: requires a Notification message (maximum length 200 characters).
Apple history columns
- Creation date
- Command
- Status
- Status time
Refresh
Use the refresh action in the futureCommands andpanel shouldto not expectreload the devicecommand tohistory. re-enroll.