Our organisation used to be split across 5 sites with 5 separate domains (and physical locations).
We all use the same Office 365 tenancy and domain name (e.g. all of the staff across the 5 sites use firstname.lastname@example.org). Each of these domains use AD Sync to sychronise usernames and passwords with our shared Office365 tenancy.
If a user moves from one of these sites to another, how do we move their user account and mailbox in O365?
At the moment, we simply create a new AD account on the domain of the user's new site. We leave the Mail attribute blank and put them in an OU which doesn't synchronise with O365 so their e-mail account remains unchanged. We leave them as active users in the domain of their old site but obviously this causes problems as when the user's password expires after 90 days or they forget their password, we have to contact the user's old site to request a password change.
I'm struggling to clarify the terminology here. Essentially what I'd like to do is move the user from the old site AD to the new site AD and bring their mailbox with them. Is there a way to do this in PowerShell or something along those lines?
The only other thing I can think of doing is:
- log the user in to Outlook
- save their .PST
- delete them from old site AD/sync
- create them on new site AD/sync
- log them in to new AD-synced e-mail account and import PST
Having to do that for ~20 users is a bit of a faff though. Does anyone have any more efficient options?