Microsoft Graph Api - chassisType returns wrong value

jhauan 1 Reputation point
2022-11-24T14:20:19.3+00:00

Hi

I am using the beta profile of Microsoft.Graph and trying to query the chassisType of different Intune devices but i see even desktops are beeing displayed as "laptops".

(Get-MgDeviceManagementManagedDevice -ManagedDeviceId $id).chassisType  

Returns:

"laptop"

This happens on several type of desktop models including HP ProDesk 600 G5 Desktop Mini, HP Z240 Tower Workstation and HP Z2 SFF G9 Workstation Desktop PC. Looking at Intune and hardware information it doesnt display any information about system enclosure so maybe it just reverts to default which is laptop?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,591 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,334 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Lu Dai-MSFT 28,346 Reputation points
    2022-11-25T01:30:10.557+00:00

    @jhauan Thanks for posting in our Q&A.

    Honestly, not sure where this chassisType data get. I only have VMs in my environment and the chassisType of these devices all displayed as "laptop".

    And I tried to check iOS devices, it shows chassisType as "phone".

    264074-image.png

    Please note that graph issue is more related to develop scope. With Q&A limitation resource, it is suggested to create a Premier support ticket to get more accurate help. Here is the support link:
    https://learn.microsoft.com/en-us/mem/get-support#premier-and-unified-support-options

    Thanks for your understanding and hope everything goes well with you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. jhauan 1 Reputation point
    2022-11-28T12:04:53.93+00:00

    Just an update here. Contacted premiere support, had a graph developer watching while i did my query. No solutions but they were going to submit my issue internally so hopefully it will be fixed in the future.