Microsoft provides a programmatic method to offboard a device from a Co-Managed device using the:
https://api.securitycenter.microsoft.com/api/machines/9301fb4a17734bd1eb6c3466aa82bb941d575cae/offboard
{ "Comment": "Offboard machine by automation - Michael Lovett" }
Where the ID is represented by the 9301fb4a17734bd1eb6c3466aa82bb941d575cae
shown in the above URL. This would allow an administrator to remove a machine from the cloud inventory without doing it afterwards as part of the retirement process.
Product | Right Click Tools |