Forum Discussion

luise976's avatar
luise976
Copper Contributor
Aug 20, 2025

Local domain mailbox migration error

I ran into an issue while migrating from on-premise to O365.

On-premise AD domain is “domain.local” so users have their mailboxes smtp address as follows:

primary smtp mailto:email%20address%20removed%20for%20privacy%20reasons ( public domain )

aliases smtp proxy: mailto:user@domain.local

We setup the hybrid environment and started the mailbox migration but they’re failing with the error that domain.local is not an accepted domain in O365.

this is the first time it occurred to us since we made a lot of migration so far

What can it be ?

obviously is not possible to add domain.local as accepted domain in o365 

1 Reply

  • Dan_Snape's avatar
    Dan_Snape
    Iron Contributor

    You'll need to remove the .local address from the on-premises email address policy, then run a script to remove the .local addresses from all accounts, then you should be good to go

    make sure that the UPN and primary email address for all users match and don't use the .local address. the IdFix utility from Microsoft can help you discover what accounts aren't configured correctly 

Resources