Jump to content

Recommended Posts

Posted

Hi All,

 

I've got two schools that are merging under a new name, so rather than setting up a new office365 we're keeping the existing one that the first school has and migrating the second school's LA email over.

 

 

They're then having a new domain added.

 

 

What I'm wanting to do however, is make it so all users who currently have [email protected], take on a secondary email of [email protected], so they have both emails addresses for the next couple of months, then we can disband school.la.com when the time comes.

 

Does anyone know of a quick way of doing this? I'd rather not do each one manually if possible.

 

Cheers

Posted

Are you using DirSync?

 

I wrote a powershell script so legacy LA email addresses worked when a primary joined our academy trust.

  • Thanks 1
Posted
No we're not, we've had issues with it in the past, and some users like their passwords to be different (don't know why)
Posted
No we're not, we've had issues with it in the past, and some users like their passwords to be different (don't know why)

 

A full password sync would have solved your password issues.

 

My script won't be much good. It writes the additional address to Active Directory then the changes sync up to the cloud. Without DirSync its useless im afraid.

Posted
You can use remote PowerShell to run any Exchange PowerShell commands against Exchange online e.g.

 

Set-Mailbox "Dan Jump" -EmailAddresses @{add="[email protected]"}

 

You could use concatenate in Excel to generate the commands as well.

Posted

1.Run: $users = Get-Mailbox

 

 

2.Run: foreach ($a in $users) {$a.emailaddresses.Add("$($a.alias)@newdomainname.com")} $users | %{Set-Mailbox $_.Identity -EmailAddresses $_.EmailAddresses}

 

Assuming the bit before the @ is staying the same for everyone.

 

Won't change the username, will just add an alias

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...