Skip to main content
New Member
Jul 27, 2024 11:36 AM UTC
Question

Stop factor data reset after deleting device from android managment device delete api

  • 5 replies
  • 69 views
  • Translate All • Beta, powered by Gemini

I have enrolled a fully managed device using the Android Management API. However, when I delete the device from my enterprise using the enterprise.device.delete API, it factory resets the data. I want to preserve the user's data instead of performing a factory reset. I also tried creating a personal use device, but then it didn't allow me to launch an app in KIOSK mode. I want both features: running an app in KIOSK mode and preserving the data when I delete the device. I'm not sure how to achieve this.

5 replies

jasonbayton
Level: 4.1: Jelly bean
Jul 27, 2024 11:57 AM UTC

Hey,

 

You can't. Severing the tie to an enterprise instructs the device to wipe. There's really no scenario where putting the device in a locked down state and then disowning it makes sense long-term. 

 

If you're just trying to set up a device in a certain way, try app pinning on an unmanaged device, or build DPC functionality into the kiosk itself, and have it set itself to DO. 

Translate • Beta, powered by Gemini
New Member
Jul 29, 2024 5:22 AM UTC

So what do I have to do if I don't want to factory reset the device? Can I do it without creating my own DPC and use google DPC for this?

Translate • Beta, powered by Gemini
jasonbayton
Level: 4.1: Jelly bean
Jul 29, 2024 5:58 AM UTC

I'm afraid, again, you cannot.

Translate • Beta, powered by Gemini
New Member
Jul 29, 2024 6:11 AM UTC

I can't do this with a Personal Owned Device ?
I have seen that an application is using its own DPC app to remove the device without rebooting and also able to lock the device. I want to achieve the same thing, but I'm not sure what to do. Can you guide me? I've been stuck on this for weeks.

Translate • Beta, powered by Gemini
New Member
Nov 9, 2024 2:24 PM UTC

I guess it was supposed to older gradle versions in which it is possible to achieve your desired results , Feel free to reach out to me if you need any more information about it 

Translate • Beta, powered by Gemini