Forum Discussion

sinhas402's avatar
sinhas402
Copper Contributor
Mar 30, 2023

API doc for msgraph deviceGeoLocation and hardwareInformation does not mention url path

I am trying to integrate intune api with my application. The API doc for msgraph deviceGeoLocation (https://learn.microsoft.com/en-us/graph/api/resources/intune-devices-devicegeolocation?view=graph-rest-1.0) and hardwareInformation (https://learn.microsoft.com/en-us/graph/api/resources/intune-devices-hardwareinformation?view=graph-rest-beta) does not mention url path for the resource.

 

I have tried a few url paths as a gues but I got 400
/deviceManagement/managedDevices/{id} and I got data
/deviceManagement/managedDevices/{id}/deviceGeoLocation -> 400 Unsupported (both 1.0 and beta)
/deviceManagement/managedDevices/{id}/hardwareInformation -> 400 Unsupported (beta)
 
Please suggest what url paths must I use to get these resources
No RepliesBe the first to reply

Resources