Sep 03 2020 11:25 AM
So I can see how to POST one machine at a time in Defender ATP API Explorer to offboard one machine, but curious the best way to handle multiple machines.
Is there a way to post multiple machine IDs at one time to offboard all of them?
Sep 07 2020 01:18 PM
If you are familiar with PowerShell you could try out the PSMDATP module
https://github.com/alexverboon/PSMDATP
that has a Remove-MDATPDevice cmdlet to offboard devices.
https://github.com/alexverboon/PSMDATP/blob/master/docs/Remove-MDATPDevice.md
With that you could create a text file with all the devies you want to remove and then simply run a forEach loop calling the remove-MDATPDevice cmdlet.
Mar 01 2021 12:25 PM