This is a requirement because the migration process uses the SMTP address of the onpremises mailbox to create the Office 365 cloud-based identity and email address.
Migration will fail if your Exchangedomain is not an accepted domain (or the primary domain) of your cloud-based
organization.