question

ByronHayes-6267 avatar image
0 Votes"
ByronHayes-6267 asked azure-cxp-api edited

MS-Graph-Endpoint-Geolocation-Unavailable

Sorry for the hyphens in the question but for whatever reason it wasn't allowing me to create a custom and this was my way of circumventing it.


The Microsoft Graph endpoint for the geolocation identification of managed devices is unfortunately not provided on the following page:
https://docs.microsoft.com/en-us/graph/api/resources/intune-devices-devicegeolocation?view=graph-rest-1.0


Could you please provide this and update your online documentation as well for future intune/graph api users?

azure-active-directory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

vipulsparsh-MSFT avatar image
0 Votes"
vipulsparsh-MSFT answered vipulsparsh-MSFT commented

@ByronHayes-6267 Thanks for reaching out.

The endpoint becomes available, when you enable Lost mode on a supervised IOS device from managed devices list on Portal. The device must receive the commands.

Once the details are uploaded by the device, the same can be found under devicemanagement/manageddevices


It requires that the supervised iOS device be placed into lost mode and the Locate device command to be issued in the portal and received by the device. Once that's done you query the deviceManagement resource and the location appears as an additional attribute on the device.


If any further queries around this, do share the following details to azcommunity[at]microsoft[dot]com
tenant id/tenant name, subscription id.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@vipulsparsh
devicemanagement/manageddevice is what I am looking for thank you!

What is the additional attribute named that is returned when I query deviceManagement? I don't see anything on the response example that that shows me "location" within the 'value' list.


0 Votes 0 ·

@ByronHayes-6267 :


Can you drop us an email azcommunity[at]microsoft[dot]com tenant id/tenant name, subscription id. so that we can work with you on this as this would need information from your devices that we are tracking.


0 Votes 0 ·