How to return hardwareIdentifier via Graph API call to importedWindowsAutopilotDeviceIdentities?

Mitchell Richters 1 Reputation point
2022-03-06T04:43:08.06+00:00

I'm trying to query devices, either by getting all records or by specific ID, however the results always come back with a hardwareIdentifier of null. Please note all UUIDs and other identifiers have been obfuscated below.

Call in Graph API explorer:

https://graph.microsoft.com/beta/deviceManagement/importedWindowsAutopilotDeviceIdentities/00000000-0000-0000-0000-000000000000

Results returned to Graph API explorer:

{
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#deviceManagement/importedWindowsAutopilotDeviceIdentities/$entity",
    "id": "00000000-0000-0000-0000-000000000000",
    "groupTag": "AU",
    "serialNumber": "0000000",
    "productKey": "0000000",
    "importId": "00000000-0000-0000-0000-000000000000",
    "hardwareIdentifier": null,
    "assignedUserPrincipalName": null,
    "state": {
        "deviceImportStatus": "complete",
        "deviceRegistrationId": "00000000-0000-0000-0000-000000000000",
        "deviceErrorCode": 0,
        "deviceErrorName": "None"
    }
}

I tried expanding the record but apparently its not one that supports expansion. Any ideas?

Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
405 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,240 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,294 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lu Dai-MSFT 28,341 Reputation points
    2022-03-07T07:16:55.713+00:00

    @MitchellRichters-4091 Thanks for posting in our Q&A.

    For this issue, I have done the test in my lab. It shows as same as yours. The value of "hardwareIdentifier" shows null.
    180510-image.png

    Honestly, I'm not sure if it is an issue or it is by design. To get more accurate help, it is suggested to create a premier support ticket. Here is the support link:
    https://learn.microsoft.com/en-us/mem/get-support#premier-and-unified-support-customers

    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.