Having a weird issue with a third party vendor that uses a REST API to synchronise devices from WSO UEM into their system based on membership of an Assignment/Smart Group. However, their API implementation doesn't differentiate between devices that have a status of enterprise/device wipe pending and enrolled devices and enrolls all devices. This results in us being over our license count due to changing over our fleet at the moment and having a bunch of devices in wipe pending status pending decommission.
They're not willing to modify their API implementation, so wondering if anyone has ever had any luck with being able to exclude certain device enrolment statuses from groups. This would have other benefits for us (for example, being able to exclude devices from deployment groups if their status isn't "Enrolled")
1. Use some delete device API calls to do a device clean up periodically then let them do theirs
2. When they make their API call, it should return device with its attributes like enrolment status, they should be able to iterate through the status and pick up only the actively enrolled devices. I know they don't want to change their script but it would be easy if they did it.