Forum Discussion
LKits
Aug 21, 2021Copper Contributor
Android delete app data on schedule
Hello!
Is it somehow possible to delete Android apps data on schedule, for example every night?
Asking because devices are being used by students without personal accounts and I'd like to erase all application data every day so next day it's clean.
Still some settings need to stay - for example wifi connections, bluetooth, installed apps etc.
Maybe it's possible with some schedule rule where I can specify which apps data gets erased?
Thank you!
1 Reply
- There is no out of the box functionality to do this. You could however implement something like this using scheduled PowerShell scripts. The Microsoft.Graph module has a cmdlet to initiate a wipe, see the URL below. Keep in mind that a wipe request may take some time to complete.
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.devicemanagement.actions/clear-mgdevicemanagementmanageddevice