Intune - Select All/multi select and delete Corporate Device Identifiers -
Background: We are building out our Intune instance and only have a handful of devices enrolled for testing and validating. In advance of migrating from our current MDM, we imported all the Serial Numbers for our iOS devices in the Corporate Device Identifiers section under Device Enrollment. There is some "bad data" in this list as we are selling off a portion of the company and those devices were accidentally included.
Question/Suggestion: Looking for a way to just select all of the device identifiers and then start over with a good, clean import. I don't see a way to remove all 5k+ devices and to go through and individually select the ~200-300 devices that need to be deleted would be maddening. So, can we "Select all" from the portal?
I don’t know that there’s a way to do it in the UI, but if you’re good with a bit of coding/scripting, you could probably do it with Graph and maybe a bit of PowerShell.
Dan Ducat commented
@Cathy, I just starting looking down that path checking out GitHub looking for some code to help, but this is uncharted territory for me and I'm not finding anything right away either.