iOS rejects profile installation via MDM when "com.apple.weather" is provided as blacklisted App ID

Originator:taylor
Number:rdar://34612124 Date Originated:23-Sep-2017 10:17 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11.0
Classification:Serious Bug Reproducible:Always
 
Summary:
When installing a profile via MDM with payload of type ‘com.apple.applicationaccess’ and key ‘blacklistedAppBundleIDs’ defined with an array containing value ‘com.apple.weather’, iOS rejects the profile install.

Steps to Reproduce:
Define the above payload and install via MDM.

Expected Results:
A successful installation response from the device.

Actual Results:
An error response with the following chain:

[{
	"ErrorCode" => 1000,
	"ErrorDomain" => "MCProfileErrorDomain",
	"LocalizedDescription" => "The profile “Group: Wandera Test” is invalid.",
	"USEnglishDescription" => "The profile “Group: Wandera Test” is invalid."
}, {
	"ErrorCode" => 2000,
	"ErrorDomain" => "MCPayloadErrorDomain",
	"LocalizedDescription" => "The payload “Group: Wandera Test” is invalid.",
	"USEnglishDescription" => "The payload “Group: Wandera Test” is invalid."
}, {
	"ErrorCode" => 2004,
	"ErrorDomain" => "MCPayloadErrorDomain",
	"LocalizedDescription" => "The field “blacklistedAppBundleIDs” contains the invalid value “com.apple.weather”.",
	"USEnglishDescription" => "The field “blacklistedAppBundleIDs” contains the invalid value “com.apple.weather”."
}]

Version:
iOS 11.0

Notes:
We were not able to reproduce this error on a supervised iPhone 6 running iOS 11. This issue was not observed before iOS 11.

Comments

Might only happen on iPads running iOS 11 - see also rdar://34979308


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!