Hi @Øyvind Hegge ,
Do you still need to maintain the on-premises Exchange server? If so, you may have to open up the ports as mentioned in this document so that you can go with the Hybrid Migration method to move the mailboxes over to Office 365.
If the Exchange server is not needed any longer, considering that other migration ways all involve creating migration endpoints which may not work in your scenario, you can migrate by importing PST files to new mailboxes. Below are some documents which might be helpful for your reference:
- Ways to migrate multiple email accounts to Microsoft 365 or Office 365 - Use the Import Service to migrate PST files
- Learn about importing your organization's PST files
I need to do this to route all mails coming to the old mailboxes into the new mailboxes.
To route incoming mails to new mailboxes in M365/Office 365, you just need to add and verify the old domain name into Office 365 and then change the new mailboxes to use the existing domain. After that, you can update your domain's MX record to point to M365/Office 365 so that new mails will start coming to Microsoft 365.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.