Identify all devices in iOS Lost Mode

PiersMH 46 Reputation points
2025-05-16T12:30:23.1133333+00:00

Hi,

I'm trying to find a way of listing all devices that have had iOS Lost Mode enabled, however I can't find a way.

Export from Intune GUI doesn't include the field.

Using Graph via PowerShell doesn't work either:

v1.0 doesn't have a Lost Mode field:

Get-MgDeviceManagementManagedDevice -Filter "SerialNumber eq 'F3HXF9509C'" | select LostModeState

LostModeState
-------------

The beta version does list the field, but returns disabled for EVERY record, even when Lost Mode is enabled:

Get-MgBetaDeviceManagementManagedDevice -Filter "SerialNumber eq 'F3HXF9509C'" | select LostModeState

LostModeState
-------------
disabled

Any ideas how to report on lost mode deices?

Any idea if it's possible to feed back about the beta version / suggest improvements?

TIA,

Piers

Microsoft Security | Intune | Microsoft Intune iOS
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JP2025 0 Reputation points
    2025-06-20T16:48:06.47+00:00

    I'm having the same problem. I think its a bug.

    You def have to use the beta graph.

    If you run the beta command using the "-ManagedDeviceID" You will get LostModeState and it will be accurate. (see below example)

    Get-MgBetaDeviceManagementManagedDevice -ManagedDeviceId <INSERT_INTUNE_DEVICE_ID> | select *

    Downside to this is you have to either know the device ID ahead of time or get ALL the managed device IDs first and then use a foreach to loop through EACH device ID individually.

    Any attempt to utilize the "Get-MgBetaDeviceManagementManagedDevice" cmdlet for bulk lookup (aka using the "-all" parameter or "-Filter" parameter results in LostModeState outputting as "Disabled"

    I have not opened a microsoft case for this yet. However it being the "Beta" api i am not hopeful that they'd fix it

    0 comments No comments

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.