It's good to through the Exchange hybrid test plan checklist before you start to migrate…
You are migrating mailboxes to Office 365, and the following error message is showing: MigrationPermanentException: You can’t use the domain because it’s not an accepted domain for your organization. What is the solution for the failed message?
Table of contents
You can’t use the domain because it’s not an accepted domain for your organization
Log in to Office 365 Exchange Admin Center using your credentials. Click in the feature pane on recipients and click migration in the tabs. In the list view, you can see the migration batches that you created. Click on view details to open the migration batch with the status Synced with errors.
Click the mailbox that is showing the status Failed. In the details pane, you will see the failed error message.
Why is that happening and what is the solution for 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.
Solution for you can’t use the domain because it’s not an accepted domain for your organization
Why are mailboxes showing the error message: MigrationPermanentException: You can’t use the domain because it’s not an accepted domain for your organization?
That’s because the mailbox is configured with one or more email address with a domain that’s not accepted by Microsoft. If you don’t add and verify the domain in Office 365, you are not prohibited from using that domain. If you have an internal domain configured as an email address for that mailbox, you will get that error message too.
Check the domains in Office 365
Have a look at the Office 365 domain section. Are there domains missing and that you need to add? If yes, add and verify ownership of the missing domain.
If all is looking great, proceed further to the next step.
Check the mailbox email address
Log in to the on-premises Exchange Admin Center. Go to recipients and follow with mailboxes. Find the mailbox in the list view and double-click on it to open the mailbox properties.
In the left pane click on email address. Remove all the SMTP addresses that have a domain configured that is not added in Office 365. If the mailbox got an internal hostname address as domain, you have to remove that email address. An example of an internal address is .local, .priv, or .internal. Click Save.
What if you want to export all the email addresses or find a specific SMTP in all the mailboxes? Read the article find email addresses with PowerShell.
Force sync Azure AD Connect with PowerShell
You have changed the AD object on-premises with the previous step. To have the changes replicated to Azure AD, you have to synchronize the object. Follow the article force sync Azure AD Connect with PowerShell.
Resume the mailbox onboarding
After you applied the sync with Azure AD Connect, you don’t have to remove the mailbox and start a new migration batch. Click the resume button to start the onboarding to Office 365 again.
Verify that the mailbox synchronization finished. You can confirm that by looking at the status Synced.
Did this help you to fix the error message? I hope it did!
In this article, you learned why the error you can’t use the domain because it’s not an accepted domain for your organization in Office 365 is showing. Let’s recap what we have done.
- Check if all the domains are added to Office 365. If not, add the domains.
- Check the mailbox email address. Remove internal domains and domains that are not added in Office 365.
- Synchronize with Azure AD to replicate the on-premises AD changes to Azure AD.
- Resume the failed mailbox in Office 365 Exchange Admin Center. That will start the mailbox onboarding to Office 365.
Did you enjoy this article? You may also like Outlook prompts for password after migration to Office 365. Don’t forget to follow us and share this article.