$select Queryparameter not working on windowsAutopilotDeviceIdentities

Michael Mican 61 Reputation points
2025-03-24T10:43:32.1966667+00:00

When calling

https://graph.microsoft.com/v1.0/deviceManagement/windowsAutopilotDeviceIdentities

I get all my Autopilot devices back.

User's image

But if I call

https://graph.microsoft.com/v1.0/deviceManagement/windowsAutopilotDeviceIdentities?$select=id

I receive a 500 Internal Server Error back. I also tried to add the ConsistencyLevel eventual but no luck :(
User's image

I wasn't able to find anything in the "known issues" section

Microsoft Security Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,366 Reputation points
    2025-03-25T10:26:44.0033333+00:00

    Hi @Michael Mican

    I was able to reproduce the issue. After multiple tests, I think it might not support the $select query parameter yet. You can open a support ticket to confirm with the API owner.

    As a solution, I suggest you get the device set first and then iterate over the set locally to get the specified property.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


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.