Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 851

Administrators • Re: CLI process to remove activesync devices

$
0
0
RemoveDeviceRequest API is used to reset policies so that client can re-provision the account on device. It does not delete device record from DB and removed device is still listed on Admin console | Global Settings | Mobile. Same API gets called when user clicks on "Remove from List" button in Classic Webclient.
It could be good enhancement to have admins ability to delete stale devices.

On mailstore server, run below commands:
CODE: SELECT ALL

Code:

su - zimbraRun below command and capture value of mailboxIdzmprov gmi USERNAME@DOMAIN.COM mysqlCheck data for above user's device:select * from zimbra.mobile_devices where mailbox_id=<mailboxId> and device_id=<devide_id>\G;Delete device record. Be cautious to remove record only for device id listed above:delete from zimbra.mobile_devices where mailbox_id=<mailboxId> and device_id=<device_id>;

Statistics: Posted by shruti.gupta — Tue Feb 06, 2024 10:29 am



Viewing all articles
Browse latest Browse all 851

Trending Articles