Migrate from exchange 2010 to exchange online Office 365

Hi,

I´ve some mail account on premise exchange  which I´like to migrate  to exchange online. At this point.. easy.
 
I choose one email account, mine, and  

-create the same account at exchange online.
-validate the domain
 
And now, I have inserted a 0 MX record at DNS. There are two records, 0 value for office 365 and 10 for my existing enviroment. The problem is when I send an email to an email account which is only defined at on premise server.. an error is reported.

How to accomplish this movement without broking the service for non migrated accounts?

regards
heze54Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ravi AtreyCommented:
Hi,

You have made an mistake. MX decides the priority level which mail server to choose first. As your on prem Exchange server is live and you are just testing O365, hence in this case, you must set MX priority 0 to your on prem and 10 for your O365.

This will route all your mails to on prem exchange.

Now, as you are testing stuff on O365 by creating your own mail id on it, you can send mail from O365 mail id to any external domain like gmail, yahoo etc except your own domain's mail ids as if you would try, it will bounce with showing that "user doesn't exists". Hence on O365, you must create contacts for all mail ids which exists on your on prem and also need to create an Outbound connector to route local delivery mails to your on prem exchange.

-
Ravi
0
Ugo MenaCommented:
You can use powershell to migrate users one at a time, or multiple users in a batch.

https://technet.microsoft.com/en-us/library/mt130479.aspx

The duration of your migration will vary based on the number of mailboxes in the batch, the size of each mailbox, and your available network capacity.

All in all, the on premise users end up with a mail forwarded account that allows the Exchange 2010 server to keep sending and receiving mail for all users.

It works well and allows you to maintain a hybrid environment is you so desire.

MX records will determine which mail server it tries first and next if the first is not available.
0
heze54Author Commented:
HI,
 
0 mx -> on premise
10 mx ->office 365

I migrated all my emails from on premise to office 365 and is ready to go to production enviroment but.. one doubt I have more mail users/account running  exchange on premise  but i´m going to delete  my account at on premise.

If I try to send email the mx points to  on premise eviroment and an error is shown from, for example, gmail but other on premise users must work in that way.

How can I tell on premise exchange to check unknown email accounts try to check them at office 365?

Regards
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Ugo MenaCommented:
If you are going to keep your on premise exchange receiving email for the domain ..  Mx set to 0., you will need to use the alternate domain on o365 to fwd to users you have already migrated to the cloud. It is usually yourDomain.OnMicrosoft.Com.

If using the powershell commands, the migrated users should have had a contact created onpremise for their onmicrosoft.Com account which the onpremise exchange account will now fwd mail to.

You will need to adjust your spf record to allow for both hosts to send email for your domain.
0
heze54Author Commented:
Hi,

I´m going to keep my on premise exchange because there are still user not being migrated..Could you explain better the mydomain.onmigrosoft.com option?

Regards
0
Ugo MenaCommented:
When you sign up for office 365, your domain is transitioned from your provider and Microsoft will create another domain that is your domain.onmicrosoft.com.
They will use that domain to begin the domain transition to their cloud. Both domains will always remain active and will use, or not use based on mx records to receive email.
Log into your account via owa on office 365 and then go to add an alias to your account. You will see the on Microsoft domain and user account info there.

If you want to keep a hybrid without federating active directory, you can use this little known transition domain to keep your on premise receiving your regular domain email and allow office 365 users to get email fwd to onmicrosoft.com account.

You should have migrated users stop using onpremise login to avoid confusion.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
heze54Author Commented:
Nice post!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.