Forum Discussion

MartinJansson's avatar
MartinJansson
Copper Contributor
Sep 05, 2023

GET WindowsAutopilotDeviceIdentity Select

Hello,

 

I'm trying to get the ID of a Autopilot device via graph api, trying it out in the graph explorer.

If I use this I get all the information regarding my device, including the id.

GET https://graph.microsoft.com/v1.0/deviceManagement/windowsAutopilotDeviceIdentities?$filter=contains(serialNumber, 'PF3LB4QQ')

 

But when I try it with $select I get "Internal server error"

GET https://graph.microsoft.com/v1.0/deviceManagement/windowsAutopilotDeviceIdentities?$filter=contains(serialNumber, 'PF3LB4QQ')&$select=id

 

Doesnt select work with this? Is there another way to just get the id of the device?

Thanks,

Regards

Martin

No RepliesBe the first to reply

Resources