I heard on the rumor mill that the hackers took over Styker's MDM system and used it to wipe all of the devices on the company's network. This includes employees who installed
Microsoft Intune on their personal phones.
And that's why you should never "bring your own device" to work. Make the company pay for a work phone or pager if they want to reach you outside of business hours.
Where I work we give people the choice and I use my personal device instead of carrying a separate one, I'm also the one that configures the MDM for phones (corp owned and personal).
I don't think this is universal but at least on my Android pixel phone, I can install my work stuff in a separate environment. It's like a separate profile essentially. It has a separate copy of my work apps, they're isolated from my personal stuff, if the company (in this case, me or my boss) were to issue a delete command. It would only delete the work account and leave all of my personal stuff untouched. It's literally like carrying two separate phones.
If it was a corporate owned device, it would reset the entire phone. But on a personal phone, set up the way I have, it would only reset the work partition. (I like it and find it convenient, other people completely and strongly disagree, So we give people the choice to have a company owned phone if they want to carry it around)