DEP API returns incorrect model type (iMac 21.5") for iMac, MacBookAir, MacBookPro, and Macmini

Originator:frank
Number:rdar://50318529 Date Originated:4/29/2019
Status:Open Resolved:
Product:Other Product Version:
Classification: Reproducible:
 
Summary:
DEP API returns incorrect model type for a number of macOS models. 

Across devices that report iMac 21.5" from the DEP response, we've encountered many devices are actually a different model, with the following models:

 |     value
---------------
     | iMac19,1
     | MacBookAir7,2
     | MacBookAir8,1
     | MacBookPro14,1
     | MacBookPro14,3
     | MacBookPro15,1
     | MacBookPro15,2
     | MacBookPro15,3
     | Macmini8,1

Steps to Reproduce:
Add device to DEP portal (ABM).
Request device details from DEP API.

Expected Results:
{
  "serial_number": "<redacted>",
  "model": "<Macbook Pro 13.3\"> \"",
  "description": "MBP 13.3 SPACE GRAY/2.3GHZ/8GB/128GB-DEU",
  "color": "SPACE GRAY",
  // other irrelevant stuff
}

Actual Results:
{
  "serial_number": "<redacted>",
  "model": "iMac 21.5\"",
  "description": "MBP 13.3 SPACE GRAY/2.3GHZ/8GB/128GB-DEU",
  "color": "SPACE GRAY",
  // other irrelevant stuff
}
Comments

Comments


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!