troubleshooting Question

PS script to automate adding new users into O365 MDM group

Avatar of sunhux
sunhux asked on
PowershellMicrosoft 365Scripting Languages
3 Comments1 Solution78 ViewsLast Modified:
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
Jason Crawford
Transport Ninja

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros