iOS Remotely uninstall and reinstall app
The best approach to be used depends on the following:
1. How the app was previously installed on the device
2. What policy option(s) were used in the previous deployment if the app was a managed app deployed with MobiControl
3. Is the uninstall/re-install task targeted for one device, or to be repeated for tens/hundreds of devices.
4. Whether app data (e.g. preference, history, bookmark, etc.) of previous installation should be kept/erased after the re-installation.
Hi Raymond, thanks for the response.
1.The app was installed with an app catalog rule.
2. The app is taken from the app store using VPP and is set as mandatory.
3. At the moment, we would just be looking to do this on individual devices.
4. App data would need to be erased too.
Since you don't need to keep previous application data and intend to uninstall/reinstall on a very small number of devices, it should be much easier to handle.
If your mandatory VPP app was previously deployed in a separate app-catalog rule (i.w. with no other app included in the rule), then just update that app-catalog rule target to exclude the device of interest to have the app uninstalled. This assumes that you have previously enabled "Remove App when device is un-enrolled" option in the advanced tab of the app in your app-catalog rule, and your device is in supervised mode. After the app has been uninstalled, update the app-catalog rule target to include the device again and the app should be re-installed.
Hi Raymond, thanks for this, it's really useful information. Unfortunately, while we only want to delete the app from a few devices, there are other devices in the same group using the same app catalog rule which we wouldn't want to delete. So we'd want to be able to pick and choose which devices to uninstall from - I'm guessing this makes things a lot more awkward?
In that case, you can use the following approach. However, please test the approach first with your MobiControl server and test Apple devices in a different test device group and different test app-catalog rule set, before you do something similar with your production devices and production app-catalog rules. If you overlook something in your test, you might risk causing app data loss for some apps delployed with the old app-catalog rule on devices you don't intend to target.
You might need to add a new rule to deploy tht app in a new separate add-catalog rule. Have it targeted to the same set of devices/device-group as your existing rule. Then, make sure no apps have been installed or uninstalled on any test devices (since the new rule is essentially redundant). Then remove the app item from the old rule. Confirm that no apps have been uninstalled on ANU test devices. If you failed this part, this approach doesn't work for your MobiControl server/device-firmware versions. Otherwise, you can go ahead to unselect some device target in your new rule to get the app uninstalled on those devices. Finally, re-select those same devices to be targeted by the new rule, and you should get the app re-installed.