Need a PowerShell script to fulfill requirement below:
We are on various tiers E1, E3, E5 of O365 & would like to do remote wiping for staff
who read company emails on their phones (various Android models & iPhone).
Vendor told us we don't need inTune but MDM is part of our subscription which allows
us to manually 'enable'/'enforce' mobile users to use MDM but we want a script
to automate this for newly onboarded users.
o Requirement: to set rule so that any newly added users will be automatically added into the MDM group
· tested with MS engineer & confirmed that the only feature that can fulfil the requirement is Dynamic Group
which only available in Azure AD Premium 1 license
· Our goal is to enforce all members (new or existing users) to use MDM