migration of mailboxes from op-prem to office 365 error. Please help!!

i get this error after a test migration Error: MigrationPermanentException: You can‎'t use the domain because it‎'s not an accepted domain for your organization. --> You can‎'t use the domain because it‎'s not an accepted domain for your organization.

please how can i rectify the issue?
Eromonsele EboiyehiNetwork Support AnalystAsked:
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.

from onpremise mailboxes, remove onpremise active directory domain named email addresses and then try migrate mailboxes

O365 don't like non routable domain (onpremise AD domain) as one of associated email address for on premise mailboxes

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
Edward van BiljonMessaging and Collaboration Technical Lead (Exchange MVP)Commented:
Correct as stated, remove the .local address and try again.
timgreen7077Exchange EngineerCommented:
what are the email addresses on the mailbox? if there is a .local domain, that will need to be removed because O365 doesn't support that domain ext.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Eromonsele EboiyehiNetwork Support AnalystAuthor Commented:
on the mailbox i have the following address:

then i have some X500 and X400
timgreen7077Exchange EngineerCommented:
.local will need to be removed from mailbox proxy addresses.
Eromonsele EboiyehiNetwork Support AnalystAuthor Commented:
Do i need to remove it from the AD server proxy settings as well? Do i do a re sync of AD connect?
timgreen7077Exchange EngineerCommented:
no, just remove it from the mailboxes, if you want the changes to show quicker, then yes you can perform a manual resync.
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
Microsoft Office

From novice to tech pro — start learning today.