I am trying to write a script that will look at a group of users in Office 365 (this is for 10,000 existing users in on premise AD getting email in hybrid), test their E1 license status, and then create a remote mailbox for each user by passing the emailaddress object into a foreach loop. Has anyone seen a script that would do this easily?
↧