Posted on 02-07-2020 10:35 AM
Upgraded to 10.18.0 and no longer getting mobile device app catalog updates? You're likely running into PI-007928.
Below is a script you can run against your Jamf Pro instance to identify apps in your catalog that are out-of-date. Then, at least, you'll know which apps to manually update.
https://github.com/cwmcbrewster/Jamf_API_Scripts/blob/master/JSS_API_check_app_versions.sh
EDIT: Here is a second script that will update the app versions for you. The script waits for user input to verify the change but you could easily remove that if you're feeling confident. You'll need an API account that can read and update mobile device applications.
https://github.com/cwmcbrewster/Jamf_API_Scripts/blob/master/JSS_API_update_mobileapp_versions.sh
Posted on 02-26-2020 07:53 AM
Just ran in to this. App on iPad wont work because it's not new enough. Looked at the JSS and the app is a few versions behind.
If I click on Force Update is that supposed to update it on the iPads, even if its not showing the correct version on the JSS Mobile Device Apps page?
Posted on 02-26-2020 07:55 AM
Clicking Force Update did not work for us. We had to manually delete each app that was not up-to-date and re-add it with the scopes.
Posted on 02-26-2020 08:16 AM
@jphillips No need to delete apps and re-add them. Just edit the app(s) and update the version. After that, your devices should get the update next time they submit inventory. You can use the script I linked to above to compare app versions in your Jamf instance to the app versions in the App Store.
@RyanSK I believe the Force Update button sends an MDM command out to all devices with that app installed telling that device to update that given app. I don't think it matters if the device has the current version of the app installed or not. It's basically a reinstall all button.
Posted on 02-26-2020 10:49 AM
This issue still exists in 10.19.0. It also appears that this issue prevents automatic disabling of apps when they are removed from the App Store.
I added a link (top post) to a second script that will update app versions for you.
Posted on 03-19-2020 04:48 AM
This issue still exists in 10.20.0
Posted on 03-20-2020 01:08 AM
We received the following information yesterday:
Thank you for your message. I'm really sorry you have this problem. Yes, we know the problem with apps. The reference number for this is: PI-007928. Now you can only update the apps manually via UI or API. The resolution comes with Jamf Pro 10.21. We released version 10.20 last night.
Posted on 04-03-2020 11:01 AM
Please fix this!
Posted on 04-05-2020 06:59 PM
+1 for these scripts, thanks @cbrewer , worked like a charm.
Posted on 04-08-2020 06:04 AM
Have to be kidding me that a core part of iPad MDM has been broken for so many releases. Apps need to be updated... and Apple even makes this easy to do through MDM. The fact that Jamf's code for checking updates breaks so often, yet the community can script a fix is frustrating.
Posted on 04-22-2020 02:13 AM
This is causing us more issues than normal now especially because we use a lot of the google apps that are getting updated due to the current situation. The apps are not updating themselves to get the new features that are being released. I've managed to manually change some of them but is causing a lot of headaches for students/parents/teachers. I feel the IOS side of Jamf gets left out quite a bit. For example, it took a while for them to implement the bluetooth restriction which other MDM providers had from day one. With every new update comes a new bug.
Posted on 04-24-2020 02:27 PM
Wow thanks @cbrewer that script is great. As someone who is not very savvy with such things - once I figured out Homebrew and jq it worked like a charm.
Posted on 04-27-2020 06:57 AM
I'm running into an issue with script. I think it might have something to do with the script checking the mobile app id and stopping when it sees an app isn't assigned to that id. For example, appid1 = Self Service, appid2 = blank, appid3 = Jamf Reset. Because appid2 is blank and doesn't exist I believe the script is ending early.
Posted on 04-27-2020 07:50 AM
@RLR The script doesn't iterate thru apps by assuming all app ID numbers are there. It's using the API to get all current apps from /mobiledeviceapplications. The apps that the script sees should be the same list of apps you see in your Jamf Pro server.
Posted on 04-27-2020 08:01 AM
@cbrewer Thanks for the quick reply. Terminal is telling me 1 apps processed but when I open the CSV file I don't have anything in there. I have 500+ apps in Jamf. Not sure what it might be.
Edit: ignore my posts. Was my api account not having correct permissions.
Posted on 04-27-2020 10:43 PM
when i run this im getting back a result -bash: !": event not found
this is on the 1st run app and csv is empty using a admin account with full access
Posted on 04-28-2020 07:48 AM
This issue is fixed in Jamf Pro 10.21.0.
Posted on 01-19-2021 08:41 AM
@cbrewer I had no issue running your first script earlier this year but now all I get is:
This may take a while depending on the number of apps in your jss
Checking 1 apps...
(23) Failed writing body
1 apps processed...
It seems that the apps are once again not updating as we expect them to :(
Have a ticket in with Jamf
Posted on 01-19-2021 09:18 AM
Posted on 01-19-2021 09:33 AM
Thanks - that fixed part of the issue - however still getting
Checking 1 apps...
1 apps processed...
Posted on 01-19-2021 11:02 AM
ugh just got it to work - darn typo
Posted on 01-19-2021 12:34 PM
Just received this from Jamf
I can confirm that you're hitting a separate product issue,
PI-007928: Jamf Pro Does Not Issue App Updates To Devices When New Versions Are Clearly Available.
Posted on 02-08-2022 12:45 PM
Can someone please tell me the steps to run this script? I would like to know what apps need to be updated. The issue seems to still be happening where Apps are not updating again.
11-07-2022 03:40 PM - edited 11-07-2022 03:40 PM
How is this still a problem 🤦🏻