Improve Device Search with More Attributes
Currently device search only supports device name, serial number, IMEI, MAC, and phone number.
Scenarios where search doesn't return the results I need:
- When I need to search by a custom attribute. For example, say I want to return all devices where the username attribute is "nathaniel.strauss". I am unable to since those attributes are not exposed in search. This is a common ask - "How many devices does x have?" The same holds true for any custom attribute set from SAML assertion - team, department, etc.
- When the device name (SimpleMDM defined) doesn't match the Device Name (MDM reported). For example, the listed name is "MacBook Air" but the actual on device name is "Arts-Building-$SerialNumber" SimpleMDM is unable to return the device by searching "Arts".
- Enrollment status. Though "Status" is a column in list view it is not searchable.
- Last seen. Slightly more complex. SimpleMDM is unable to return devices not seen (or seen) within a specific time period.
Given the values are already present in the database, I'm asking search either be configurable to allow any device attribute. If it's easier or more reasonable to ask for a smaller solution I would want these attributes prioritized to be searchable. Thank you!
- All custom attributes
- Device name
- Processor arch (Apple silicon v Intel)
- OS version
- Enrollment status
- FDE status
- SIP status
- Secure boot level
- Secure boot external level

-
Björn Albers commented
Great Idea! Device notes should be searchable as well.
-
Manuel Razzari commented
Also need to be able to search by "device group". Either overload search "/devices?search=group:37" or add a new param "/devices?group=37".
-
Jon Crain commented
It would be ideal if the same items were also available in the API query for all devices as well.
-
Chris Rosa commented
Would be helpful if it searched User names as well.
-
Teemu Rytsy commented
Would be really appriciated. Or like the anonymous noted, add "Assigned user" field which is searchabel!
-
Jimmy commented
And if possible expose this to the API,
We are looking to build a quick overview for our heldesk staff, and knowing who the device is assigned to would be useful
-
Anonymous commented
Or add a new searchable field for "Assigned User" if you think that the notes field is too long or ambiguous to search. We have the same issue as there is no way to search by the notes field, but it is the only field where you can put in who actually has the device...
-
Anonymous commented
I would like to look up who is using the iPad. We have generally put the name in the notes field and are looking into doing a custom attribute. Neither are searchable in the current device algorithm. Can we please get something for that added?