Configuration profile fails to install when "blacklistedAppBundleIDs" contains "com.apple.weather"

Originator:jum
Number:rdar://34979308 Date Originated:2017-10-13
Status:Duplicate/33138213 Resolved:
Product:iOS / MDM Product Version:iOS 11.0.2 (16A421)
Classification:Serious Bug Reproducible:Always
 
Summary:
On iOS 11, trying to install a configuration profile through MDM will fail when the "com.apple.applicationaccess" payload contains "com.apple.weather" as a blacklisted application. It will fail to install on an iPad, even though the iPad does not (visibly) have the Weather app.

This used to work just fine in iOS 10 or earlier.

The problem with this bug is that MDM customers will have existing configuration profiles that are assigned through automated rules, which will now (after upgrading their devices to iOS 11) all of a sudden fail to install, causing their provisioning or configuration workflows to fail.


Steps to Reproduce:
- try to install the enclosed configuration profile "Disallow weather app only.mobileconfig" on a supervised iPad running iOS 11

Expected Results:
Since the profile only contains a restrictions payload, which only contains the "blacklistedAppBundleIDs" value, which only blacklists a single app (namely "com.apple.weather") and that app is not even visible on the device, installation of the profile should succeed.


Actual Results:
Installation of the profiles fails with the following error:
The profile “Disallow weather app only” is invalid.The payload “Disallow weather app only” is invalid.The field “blacklistedAppBundleIDs” contains the invalid value “com.apple.weather”.

Version/Build:
iOS 11.0.2 (16A421)

Configuration:
Only happens on iOS 11, works fine on iOS 10 or earlier, so this appears to be a regression in iOS 11.

Comments

Only happens on iPads running iOS 11

see also rdar://34612124


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!