chassistype not returned when querying all managedDevices

Evans Aboge 106 Reputation points Microsoft Employee
2022-10-24T06:24:15.043+00:00

chassisType attribute is not returned when doing a managedDevices batch query, but is returned when querying individual devices by ID.

To Reproduce
Steps to reproduce the behavior:

Go to Graph explorer
Send a GET to https://graph.microsoft.com/beta/deviceManagement/managedDevices
Note that the chassisType attribute is "unknown" for the entire list of returned devices
Now send a GET to https://graph.microsoft.com/beta/deviceManagement/managedDevices/{managedDevice-id}
Note that the chassisType correctly reflects the device that was queried

Screenshots

  1. When querying all devices:
    253404-image.png
  2. When querying one device:
    253463-image.png
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,057 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,899 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,085 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhanu Kiran 3,606 Reputation points
    2022-10-24T19:05:14.073+00:00

    Hello @Evans Aboge ,

    This behavior is by design, it only returns default value for chassisType in LIST call. To get the real value, you need to use the GET call with select parameter.

    The list view only provides a subset of properties - this is to enable fast filtering and querying of the most commonly viewed properties.

    The device detailed view (filtering to a specific device) provides the full details of a device.

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.