InstallApplication does not work with High Sierra

Originator:eriknicolasgomez
Number:rdar://32654811 Date Originated:06-08-2017
Status:Closed as Duplicate Resolved:No
Product:Installation Product Version:10.13.0-17A264c
Classification: Reproducible:Always
 
Area:
Installation

Summary:
With High Sierra, 10.13 Beta (17A264c) the MDM Command does not appear to work any longer. 

Looking at logs, it appears that `storedownloadd` GETs the appmanifest plist, and fails to download the pkg that the manifest points to. The log ends with 

2017-06-06 16:10:25.108171-0700 0x102e     Default     0x0                  416    storedownloadd: (StoreFoundation) [com.apple.commerce.CKLegacy] ISStoreURLOperation: Starting URL operation with url=https:/dev.micromdm.io/repo/munkitools-3.0.0.3333.pkg / bagKey=(null)
2017-06-06 16:10:25.108290-0700 0x102e     Default     0x0                  416    storedownloadd: (StoreFoundation) [com.apple.commerce.CKLegacy] -[ISStoreURLOperation _runURLOperation]: _addStandardQueryParametersForURL: https:/dev.micromdm.io/repo/munkitools-3.0.0.3333.pkg

Steps to Reproduce:
Send an InstallApplication command to an MDM enrolled mac.

Expected Results:
pkg is installed.

Observed Results:
The appmanifest plist is downloaded, but the pkg in the appmanifest url is not.

Version:
10.13 Beta (17A264c)

Notes:
Business Impact : With APFS in High Sierra, Organizations will have to disown their imaging tools and use DEP as their primary deployment method. InstallApplication will play a key role in this transition as this would be the API that developers can build to deploy the necessary tools onto the machine on enrollment for streamlined user experience. This issue is currently a BLOCKER due to the high dependency on this API for admins around the world to build their new enterprise deployment strategy with High Sierra.

Comments

Duplicate of 31927433 Closed

By eriknicolasgomez at Dec. 15, 2017, 3:27 p.m. (reply...)

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!