Table of Content
    EDB to PST Converter

    Error when you run the Add-RecipientPermission Cmdlet while Migrating Mailboxes to Microsoft 365


    Table of Content

      Summary: In this article, we will be discussing the ways to troubleshoot the error “You can’t use the domain because it’s not an accepted domain for your organization” that might occur on different occasions while migrating mailboxes to Microsoft 365. In addition, we will be mentioning a third-party EDB to PST converter tool that can directly migrate mailboxes and other data from EDB file to Microsoft 365 without any issue.

      In Exchange Server, you use PowerShell through the Exchange Management Shell (EMS) for a lot of reasons, like speed, accessibility, and automation. When trying to run the Add-RecipientPermission, New-MoveRequest, or any other cmdlet while migrating mailboxes to Microsoft 365, you may get an error saying, “You can’t use the domain because it’s not an accepted domain for your organization”.

      Depending on the command being executed in the Exchange Management Shell (EMS), you may get the error similar to the below.

      You can’t use the domain because it’s not an accepted domain for your organization.
      + CategoryInfo : NotSpecified: (:) [New-MoveRequest], NotAcceptedDomainException
      [FailureCategory=Cmdlet-NotAcceptedDomainException]

      The error can occur in different situations. The usual culprits for the error are as follows:

      • Human error or typo
      • Adding a recipient permission
      • Creating a new move request
      • Creating a new migration batch

      Possible Solutions to Fix the Error

      It’s easy to enter the wrong domain in a command and to do a typo. So, first check the syntax and also check that the domain name doesn’t have an extra character or mistake.

      The issue usually occurs when the proxy address entered for the recipient is not configured as an accepted domain in your setup. You can use the Get-AcceptedDomain command to verify that the domain is really in use. You can also confirm that the Domain Name is correct.

      Get-AcceptedDomain

      During a mailbox move, it might happen that one of the recipients has a domain which was not removed completely. This would leave unwanted configurations in the SMTP of the user you are transferring. This could also occur when you are setting up a recipient permission and creating a new mailbox move.

      After executing the Get-AcceptedDomain cmdlet, you need to run the following command to get more information on the mailbox. You can easily compare if the domains are really matching.

      Get-mailbox <mailbox> | select -ExpandProperty Emailaddresses
      Get-mailbox

      If the user has an SMTP entry which doesn’t match the accepted domain, you can easily fix it by removing the culprit’s email address. Then, retry the command.

      If you don’t know the affected mailbox, you can run the below command:

      Get-Mailbox | Select DisplayName, EmailAddresses
      affected mailbox cmd

      In addition, there could be other issues which could stop you from setting up the email address or affecting the move request, or creating the migration batch. Such issues include configuration problems or corruption in the installation of your Exchange Server.

      In such a case, first check if the problem is with the source mailbox database. It’s suggested to create a new mailbox database and move the mailbox to the new mailbox database. But then again, if you can’t even create a new move request, you would not be able to transfer the mailboxes to another mailbox database. If you have another Exchange Server and try to transfer the mailboxes, you would encounter the same issues.

      Free Download Button

      For this reason, you can take the help of a third-party application such as Stellar Converter for EDB. Using the application, you can easily open EDB files without MS Exchange Server and see the entire contents of the database, including mailboxes, archives, shared mailboxes, disabled mailboxes, and even public folders. You can granularly export the EDB data to PST and other file formats, like EML, PDF, and others. In this case, you can easily export the said resources to either a live Exchange Server database on the same server or another server. You can also export directly to Microsoft 365 tenant.

      Conclusion

      Above, we have discussed the ways to resolve the error “You can’t use the domain because it’s not an accepted domain for your organization”. If these don’t work, you need to move your data to either a new mailbox database or new Exchange Server. To easily move your data, you can use Stellar Converter for EDB. With Stellar Converter for EDB, you have the peace of mind that your data will be fully moved with no data loss and in the least possible time with the least utilized resources.

      Was this article helpful?

      No NO

      About The Author

      Shelly Bhardwaj linkdin

      I am a Product Consultant and is associated with Stellar Data Recovery from last 8 years. I write about the latest technology tips and provide custom solutions related to Exchange Server, Office 365, MS Outlook, and many other Email Clients & different flavors of OS Servers. Read More

      Leave a comment

      Your email address will not be published. Required fields are marked *

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received