VPP Apps Not Updating
Description
Use the workflow in VPP App updates to review update behavior and controls. A new App Store release does not guarantee that an installed app will update within 24 hours. Check update detection, the applicable update settings, device communication, and the resulting installed version separately.
Information
The FileWave Server uses application information reported by the device to determine whether an update is needed. When an update is detected and permitted by the applicable settings, an install command can be queued. The device then retrieves the app from the App Store. Check Command History for the request and result, then confirm the installed version on the device; a queued command or successful first installation is not proof of a later update.
Consider the elements involved when assessing why one or more Apps may not update. These include:
- Server SSL certifiate
- VPP token
- APNs certificate
- Apple T&Cs
- App identifiation
Directions
The certificates and tokens are relatively straightforward. If expired, they should be updated. Whilst expired, VPP installations will be impacted until resolved.
It is not unusual for Apple to update the T&Cs. However, Administrators of School or Business manager accounts should receive an email from Apple, indicating these have changed and informing customers to log into their Apple manager account and accept those new terms.
Do not renew an apparently valid token solely because an app has not updated. First check token status, synchronization errors, the Apple location, and the existing token entry. If renewal is needed, follow the token-renewal procedure above and update the matching existing entry for the same location. Preserve the existing MDM ownership; do not add a duplicate location token, remove a working entry, or take ownership from another active server as a troubleshooting experiment. If the cause remains unclear, contact FileWave Technical Support with the app identity, installed and expected versions, and relevant command or synchronization errors.
The last in the list though is one that can more often catch Administrators out.
App Identification
Analysis
Each App has a unique bundle identification. This information is stored within the Info.plist of any App, amongst other places.
The following historical Numbers example illustrates how an app identity can change. The identifiers and version outputs are captured examples, not a current-version list. Query the current App Store entry and verify the exact installed application before changing its assignment.
% /usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" '/Applications/Numbers.app/Contents/Info.plist'
com.apple.iWork.Numbers
Since Numbers used to belong as part of the iWork suite, its bundle identifier reflects this. We see the same with Keynote:
% /usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" '/Applications/Keynote.app/Contents/Info.plist'
com.apple.iWork.Keynote
FileWave needs to reference these Apps from the App Store, which is handled by the unique App Store ID. This can be observed as part of the App Store URL link.
For the above version of Numbers, the URL is:
https://apps.apple.com/gb/app/numbers-14-5/id409203825?mt=12&uo=4
Making the store ID number as: 409203825
Apple has a developer article, indicating how to action store lookups.
Not all items need necessarily be included, but it could be in the form of:
"https://itunes.apple.com/lookup?id=${apple_id}${country_id}${language}"
Using the Numbers example, simplistically, the lookup could be:
% curl -s "https://itunes.apple.com/lookup?id=409203825"
Amongst the information returned from this query is the identifier and version string:
- "bundleId":"com.apple.iWork.Numbers"
-
"version":"14.5"
Where this is installed on a device, FileWave will report the relevant information:
This information is supplied by the device and is used for update detection. Compare the reported app identity and installed version with the intended App Store entry. On macOS, do not assume that a successful installation or a newer App Store version proves that FileWave has detected and completed an update.
What happens though if the information were to change? Why would it change?
Incorrect Identity
Before we get into incorrect identifiers, this time compare this with the mobile version of Numbers. It has an alternate bundle identifier and hence a different App Store identifying number.
% curl -s "https://itunes.apple.com/lookup?id=361304891"
This time the command returned:
-
"bundleId":"com.apple.Numbers"
-
"version":"15.1"
Of course, Apple have spent time working on Universal Apps; those that would work on both macOS and iOS type devices. Of course, to achieve this, only one App Store App would be required, but clearly there can't be one App with one URL for two different versions and bundle identifiers.
This poses an issue for the developer of the application and that has a knock-on effect with MDM servers and devices.
In this historical example, the mobile app retained its identity, so an identity change alone would not require a new association for existing iOS installations. Actual updating still depends on update detection, applicable settings, and successful device processing. The older macOS app used a different identity; check the installed app and intended App Store entry before changing its association.
As far as the macOS device is concerned, it doesn't have this software installed and there are no more updates for the Numbers.app installed at that time. The consequence is a requirement to change the association with the original Numbers App with the Universal App Store entry. The original Numbers.app for macOS is now deprecated, but should still show in purchased Apps and be deployable to relevant devices.
Indeed, the same can be seen for Keynote and Pages, for example.
Although not recommended by Apple, it is indeed possible to have both versions installed simultaneously, since the reality is they are effectively two different Apps.
Unix systems can't have two items with the same name though in the same directory. Looking at additional information from the App Store query, another point of interest is:
"releaseNotes":"Numbers is now part of Apple Creator Studio..."
Using the Get Info option on the newly installed versions, does indeed show the name of the App as Numbers Creator Studio:
Using that information, actioning a query against the Info.plist file for that App, highlights it is the same as the version installed on Mobile devices:
% /usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" '/Applications/Numbers Creator Studio.app/Contents/Info.plist'
com.apple.Numbers
Changing over will likely involve a new 'Purchase' of the App in the Apple School or Business Manager account or an increase in licence quantity, if already used for mobile devices.
Like iLife and iWork, Apple Creator Studio is a suite of applications. Apple have provided details regarding this suite, purchases and deployment in Apple's Education Forum:
Apple Creator Studio Deployment Considerations
As such, the issue of VPP Apps can be about certificates and communication, but sometimes the App isnt' there anymore in its original form. The same has been seen from other developers and entirely likely more of these could show, particularly with the transition to universal apps from dedicated apps.



No comments to display
No comments to display