Apps Not Being Removed From iPads (VPP/Deviced-Based Assignment)

steelopus
New Contributor III

We are extensively using VPP and device-based assignments. 600 apps are scoped amongst our ~100 smart groups - always installed as managed apps.

We are finding that when we remove a device from the scope of an app, it doesn't always remove the app from the device. We do get the license back in VPP, but the app stays on the iPad even after inventory updates and restarts. The only way to get the app off is to manually delete it from the iPad.

Example:

  1. Paid app is scoped to iPad w/device-based app assignment.
  2. Paid app is installed on iPad and VPP license is used.
  3. iPad is removed from scope for Paid app.
  4. iPad processes the management commands and VPP license is restored to available pool.
  5. iPad never actually removes Paid app.

Has anyone else seen something similar?

21 REPLIES 21

steelopus
New Contributor III

The main problem here is that we restrict student iPads from deleting apps.
Most of those iPads are only 16GB models, so they are low on space to begin with. Certain huge apps (I'm looking at you, Lexia Core5) just need to be removed from time to time. When JSS doesn't actually remove them, we have to unrestrict the iPads and manually do it... that's less than fun.

bumbletech
Contributor III

Are the apps installing as managed?

steelopus
New Contributor III

Yes, we're deploying all apps as managed.

I wish I had a few test cases in front of me but unfortunately this is a sporadic issue that I can't consistently reproduce... every tech's favorite situation.

mahughe
Contributor

Seems I recall there is has some to do with Apple and grace period for the lack of a better word that would enable the user to purchase the app themselves and not loose anything. Have you tried doing an inventory update to force it off?

RWitt
New Contributor II

Second what @mahughe said its an Apple thing and for some reason they don't force the app to removed. This is expected behavior though. I know it doesn't help you much. This is why we don't force the apps to delete or force the apps on the device. Why don't you make the app available in SS and let the students download as needed? This would really help you with your storage issues. We are in the same 16GB boat as you.

steelopus
New Contributor III

I thought the grace period applied only to user-based assignments, thereby giving the assigned-user time to either buy it themselves or export their data/settings before the app vanished.

I've been under the impression that with device-based assignments, the organization has complete control over what apps are installed at all times, with no grace periods.

Self Service isn't in the cards for us as we are dealing primarily with a special education student population, so we aim for the most simple and consistent usage environment possible - therefore: device-based assignments and no app deletion.

dmillertds
Contributor

"Complete control over " and "Apple" don't belong in the same sentence. I am continually frustrated with what I CAN'T control - your example being just one of many. In my opinion, Apple products will NEVER be enterprise-friendly until they get over the "end-user is sacred" mindset.

And yes, I have experienced exactly what you're describing with multiple apps, including Lexia. At least the Lexia "app" itself is free, but that doesn't help if you're trying to save space.

steelopus
New Contributor III

Alright I have a specific example now:

  1. iPad was excluded from a Smart Group.
  2. iPad management tab shows 0 apps in scope.
  3. Most apps were removed, but 25 are remaining.
  4. iPad history tab does not show Remove commands for those 25 apps in any state (Completed/Pending/Failed).
  5. The 25 apps that weren't removed were all originally installed as managed apps (where possible).
  6. I am certain that some of the 25 apps that weren't removed ARE managed apps.

These are the apps that were not removed in this example (bold are apps that I know for certain are definitely managed-capable):
Book Creator
Bugs & Bubbles
Bugs & Numbers
Clicker Sentences
Dragon Dictation
Duck-Duck Moose Reading
Endless Numbers
Google Docs
Google Drive
Google Slides
iMovie

Interactive Alphabet
IXL Math
Kids A-Z
LetterSchool
Math Bingo
Number Pieces Basic
OverDrive
Play-Doh ABCs
schooltool
Starfall FREE
Word Bingo
Word Magic
Word Wizard
Write My Name

99a14e881e4d44c79545e437e0500771

Definitely something wacky going on. I don't know if it's our JSS or if it's iOS, but I'm leaning to a bug in the JSS because the Remove App command is not being sent for all apps.

CasperSally
Valued Contributor II

@steelopus did you check for pending/failed commands and clear them out and do an inventory update and blank push?

steelopus
New Contributor III

@CasperSally Yes, to no effect. Inventory updates and no further commands are pending/failed, including no additional Remove App commands for the 25 apps that remain.

steelopus
New Contributor III

Evidence that the remaining apps are displayed via Inventory, all as Managed.

b9da1cdcbcab4db1bec5930ae0e74fd5

CasperSally
Valued Contributor II

What version of JSS? We've seen improvements with device based when we went to 9.93. We are 9.96 now, but haven't tested removing apps like this yet in mass.

steelopus
New Contributor III

JSS 9.96.
iOS 9.3.5.

steelopus
New Contributor III

Some further testing:

  1. I added the iPad to the scope of 1 of the 25 apps exhibiting the issue.
  2. There was no evidence of that change on the iPad management page. No Install App command ever processed.
  3. Updated inventory and nothing changed on the iPad or JSS.
  4. I removed the iPad from the scope of that app.
  5. The Remove App command was processed, appeared as pending, appeared as completed, and the app was removed.

Unfortunately that's not really a viable solution when we're dealing with dozens of apps on dozens of iPads.

It seems like maybe this is a JSS issue with not being able to handle a large number of commands at one time?

dmillertds
Contributor

Your last sentence caught my eye. I've been wondering about volume of commands, as in testing (approx. 10 iPads, half-dozen apps) everything worked fine, but when deploying to 300+ iPads, a lot of them never get the app installed, and the dreaded "app already scheduled for management" error in the failed command. Clearing the errors and updating inventory works to some degree, but comes to a point of diminishing returns, and I end up with a handful of iPads that never received the app. I have attempted un-scoping/re-scoping, and then I end up with some that seem to be in an endless loop of uninstalling/reinstalling the app - even though there are no pending commands! Which is probably even worse. I have an open case on this since early last week, but so far no resolution.

steelopus
New Contributor III

@dmillertds We're seeing exactly the same thing. Feel free to let your case manager know that they can contact me if they want further input from another user experiencing the same problem.

cdenesha
Valued Contributor II

I have been seeing this as well. I don't have concrete examples at this time. JSS 9.93

When I reported it I was told it should be working (unscoping sends the Remove command). I then realized that in some of the cases I had the same app scoped twice to the same iPad (push install vs. Self Service) so closed the case. Since then I have been seeing it is definitely a problem at times.

I've been buried this month so haven't had time to do any testing but I'll be following this thread carefully.

chris

dmillertds
Contributor

At this point we have most apps installed (less a handful of stubborn iPads), except for Google Drive. Even though it is installed on some unknown number of iPads, the JSS thinks it is installed on only a couple. However, 'updating inventory' no longer triggers an install of that app - which it used to. At this point, I'm leaning toward there being an issue with the JSS database, either not logging inventory correctly, or some db trigger that hasn't been updated correctly, or ???

I'm thinking of a work-around, which would be to create a single "generic" Apple ID (not managed), that students would use, and then use Self Service to install the stubborn apps. I'm hoping to leverage a config profile with a restricted app list to keep rogue app installs under control - anyone done that? We had planned on not using Apple IDs at all this year until we went to Managed IDs (a whole 'nother story), but we may need to break down and go "old school" just to get the kids working.

steelopus
New Contributor III

@dmillertds Sorry to hear that, but that's unrelated to what I'm discussing here. We are not seeing significant issue with app installation, only with app removal.

JurjenEisink
New Contributor

We have been seeing the same issue also with our iPads and noticed that doing an edit and save action (without any actual changes) on the app actually triggers the removal action. We currently have a workaround in place by automatically checking using the API the scoped apps (smart groups / static groups related) versus the actual apps (inventory reported) and doing an edit/save action on the apps that are out of scope but still installed to resolve this. Issue is reproducible and looks to be MDM related. Since the workaround is in place everything works as desired.

jr139
New Contributor III

We were experiencing this same issue, where we excluded a smartgroup from the scope of an app (in hopes the app would be removed off the devices in that smart group). But the app was never removed from the devices. I tried @JurjenEisink work around posted above (edit and save action on the app) and magically the remove app commands went through and the app is now removed, thanks @JurjenEisink !

We are cloud hosted and on version 10.6 for reference and are using device based VPP assignments.