HI

we are in a exchange 2010 hybrid environment use dir sync. we have now migrated all the exciting user mailboxes to exchange online. but when we create new AD users first we setup their mailbox in on-premises exchange and later migrate it to exchange online.

is this correct ??? or what is the best practise?? near future we have planed to go fully office365.

thanks

7 Spice ups

Are not you using Azure AD connect ?. It will automatically sync when you create a new user onpremise. Get the latest AAD from here and install on your DC.

You should still create the user account on-premise (generally), but then use Enable-RemoteMailbox , or Set-RemoteMailbox to point mail via the Exchange Online connector. Usually something like:

Enable-RemoteMailbox John.Smith -RemoteRoutingAddress John.Smith@company.mail.onmicrosoft.com

This also allows you to manage your user’s primary SMTP addresses etc in your on-premise Exchange Admin Center, which can be a good idea if you have issues with the 365 Username not matching the Email address.

There are some good videos on YouTube and TechNet articles to assist with this. Create a test user and give it a try.

As suggested by Gopal, you can use AAD, then you can set Sync cycles etc, or use PowerShell to manually run a sync)

I hope this helps, have a good day.

Jon

When you use ADConnect, you can sync to Office 365 the user and immediately setup a mailbox, there is no need to set it up locally and then moved it to Office 365 later.

1 Spice up

If you don’t need the mailbox to be for any reason on prem server than all you do is create their AD account. Dir Sync will sync it to the cloud and as long as the licence get’s applied they will get a mailbox created in Office 365. That is it. You don’t need ot do anything on prem server.

HI Gopal (Vembu)

thanks for ur update. yes we are using latest AAD, but so far we hvae been crating the mailboxes for the user on premises and migrate them to exchange online. so would like to know what is the best method?? is it just assign license on Office 365 ??

Yes. Just create the AD account with all the user details, wait for it to synch with O365 and licence it. It will automatically create mailbox.

Two ways:

  1. Add new users in Exchange on premise server

  2. Sync the directory using AAD connect

  3. License the user

Or

We would use

enable-remotemailbox -identity “Demo User”-remoteroutingaddress demo.user@tenant.mail.onmicrosoft.com .

Yes, as said create user on On Premise server, and wil sync on consequent DirSync, user account will be created on cloud. you need to assign a valid license. In case of roaming user ( not frequent on premise AD user ), you can create account on Azure directly. You can differentiate as cloud & sync accounts.