PI-009041 Jamf attempting to remove unmanaged apps

Sandy
Valued Contributor II

Hi All,
The PI-009041 is constantly queuing up commands to uninstall unmanaged apps from our Staff iPads. (I am at present on prem 10.26.1, and jamf has confirmed the PI is not fixed in 10.28.)

When VPP was just a baby, we distributed codes through Self Service for the paid apps we wanted our staff to use. These were redeemed by them in their own unmanaged Apple IDs and the apps became theirs to keep. Very few apps are scoped to our staff iPads, so basically their apps are almost all unmanaged.
This PI states that if an App exists in the App Catalog, even if the scope does not include a particular iPad, jamf will attempt to uninstall the app (to reinstall as managed I guess?). This is related to the box in the App setup: "Make app managed when possible", which is checked by default, and now on most (but not all) app catalog items this box is greyed out and cannot be unchecked. Jamf has responded also that there's no sql command to uncheck the box that will work.

For the most part this is just a nuisance since the uninstall commands fail. Some devices show 20 - 30 failed commands, based on the number of unmanaged apps they have installed. Some of these uninstall commands list App Catalog items that are not even in the same SITE as the iPad

I have also had a couple instances that I KNOW OF, where apps that were installed were suddenly removed, and the completed command lists the app "removed" from a catalog item was never scoped to that iPad.

I have also seen suspicious CPU 100% utilization on my DB server if I flush those failed commands from an iPad...

Long story long, wondered if others are seeing this and have any insights on how they are dealing with it? Is this is the beginning of a snowball rolling down the hill... or no big deal?

We actually still have some unused codes, which I am not able to distribute successfully from Self Service but where some are still downloadable from ASM, The codes themselves are still good on the Apps that still exist.

15 REPLIES 15

gwertman
New Contributor III

Hi, Sandy.

I just noticed this today while I was checking on a managed iPad. My google search led me to your post. In my case I do not have any unmanaged apps being removed, at least not that I've noticed.
Also, I'm relatively new to Jamf. Can you tell me what is meant by PI?

Sandy
Valued Contributor II

PI-009041 is the code from jamf, how they track current open product issues. I did not find this one on the published list but got it from support when I opened a ticket
I have had 4 instances of Apps being removed but so far have not been able to backtrack why on this small number of iPads and not the others.

Sandy
Valued Contributor II

I am getting reports of UNMANAGED apps being removed from Teacher iPads.
These apps were downloaded from the App Store with a personal Apple ID.
I am unable to isolate the particular situation that allows this to happen, since we have 500 staff iPads similarly managed and App Store in use, but a small number of apps being removed (....so far)
It has been individual l apps, and a different app on each device reported....
Nobody else is seeing this?

gwertman
New Contributor III

I'm still only seeing the errors themselves, but I haven't gotten any support calls from the iPad owners.
I really hope this gets sorted out soon.

Remove App - ZOOM Cloud Meetings 4.6.2 The app “us.zoom.videomeetings” is not managed. 10/30/2020 at 9:00 PM Remove App - Facebook 310.0 The app “com.facebook.Facebook” is not managed. 10/30/2020 at 9:00 PM Remove App - Google Docs: Sync, Edit, Share 1.2021.06204 The app “com.google.Docs” is not managed. 10/30/2020 at 9:00 PM Remove App - Google Slides 1.2021.06207 The app “com.google.Slides” is not managed. 10/30/2020 at 9:00 PM Remove App - Canvas Teacher 1.8.5 The app “com.instructure.ios.teacher” is not managed. 10/30/2020 at 9:00 PM Remove App - Google Drive 4.2020.48302 The app “com.google.Drive” is not managed. 10/30/2020 at 9:00 PM Remove App - Microsoft Word 2.47 The app “com.microsoft.Office.Word” is not managed. 10/30/2020 at 9:00 PM

Sandy
Valued Contributor II

I think I have found what triggered the removal, but cannot prove it yet
While working on a different issue regarding VPP Codes, we were no longer able to acquire an app from Self Service where we had known good VPP codes uploaded to jamf. As a result of that testing, I disabled the Codes Catalog items and removed staff from the scope. I uploaded all my remaining good codes to Google for techs to pluck manually for new staff.
That event (I think) triggered "some" unmanaged App Store Code Acquired apps to be REMOVED FROM DEVICES.
Ironic that Waaaay back when, we distributed codes to staff so they would "have the apps forever" and never need to worry about them losing scope...
So I re-enabled and re-scoped those non-functional codes catalog items and am now holding my breath, trying to think of a way to evaluate the size of the ShitShow. Not everyone redeemed every code. First person today did not have an iCloud backup that went back to before the app was removed so files are lost.

gwertman
New Contributor III

There's nothing worse than finding out the bugs and limitations of a product because it affects our users. I hope it works out!

Sandy
Valued Contributor II

Well... since I do not hear from anyone else on this issue, I'm going to accept that the environment that triggered this is quite an anomaly. Having a VERY mature jss, in a district that had student iPads on the cutting edge 10 years ago, I am not bitter 🙂
Those early days, PRE- VPP and MDM were crazy and some decisions made back then based on "What we had to work with" sometimes return to bite us.
"Kids will still learn".
S

mmcallister
Contributor II

Hi Sandy,

We are seeing this in our environment also. Running 10.27, cloud-hosted. On a support chat now with Jamf and found your post.

mmcallister
Contributor II

"Make app managed when possible" can be deselected if the distribution method is set to "Make available in Self Service".

Deselecting that option appears to stop the failed commands. That said, it's still unclear why this would have any affect on devices that aren't in the App scope.

In our environment, this has nothing to do with converted codes, as it is affecting apps where we acquired the licenses after moving 100% to VPP.

Not applicable

This is also happening in my environment. Running the same version of JamfPro.

cbrewer
Valued Contributor II

If your'e self-hosted, you can alter the "Make app managed if currently installed as unmanaged" flag in SQL. It's probably not supported, but it can certainly be done. You're looking for the take_over_management field in the mobile_device_apps table. The following will show you all apps that have "Make app managed if currently installed as unmanaged" set.

select app_name,mobile_device_app_id,take_over_management from mobile_device_apps where take_over_management = 1 and deleted = 0;

Sandy
Valued Contributor II

Hey @cbrewer, thanks for that, however we moved to the Jamf Cloud last Wednesday 🙂
I am working with a jamf engineer currently to find additional information and possible remediation.
S

MBrownUoG
Contributor

Hey folks. Just to say I'm also seeing this issue in our on-prem instance. I was confuzzed as to why most of our iPads have failed 'remove' commands for all sorts of Apps that weren't even in scope for the devices in question, and here we are. Hopefully this can be resolved swiftly as I'm in constant worry that those commands will eventually be successful!

wkelly1
New Contributor II

Posting to confirm I see this in my on-prem instance as well. The issue seems to be tied to the "Make app managed when possible" field being checked, which also looks like it cannot be unchecked unless you switch to Self Service install.

Klenke_daniel
New Contributor III

Having this issue as well with staff devices. Current on-prem version is 10.28.