Unable to migrate mailbox in Exchange 2019 - Prompt error Couldn't find database

KAI SENG 30 Reputation points
2023-03-03T01:01:19.7766667+00:00

I encounter error when trying to move mailbox from Exchange 2013 to 2019. It prompt the error Couldn't find database and pointing to a non existing database. Kindly refer to screenshot.

Can any expert guide me on how to fix this?Exch19error

Exchange | Exchange Server | Other
Exchange | Exchange Server | Management
0 comments No comments
{count} votes

Accepted answer
  1. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2023-03-03T08:31:10.4966667+00:00

    Hi @KAI SENG ,

    Regarding the error message in the screenshot you shared, do you have any impression on the database mentioned in the error? Based on my research, "first storage group" appears to be related to some outdated version of Exchange server, so I am wondering if there was an earlier version of Exchange in your environment.

    Besides, could you run the command below to check the arbitration mailboxes in the environment? Make sure the databases returned in the output are all mounted properly.

    Set-ADServerSettings -ViewEntireForest $true; Get-Mailbox -Arbitration | Format-Table Name, ServerName, Database, AdminDisplayVersion
    
    

    Furthermore, in order to narrow down if it's an issue with the administrator account, please try testing with a different admin account and see how it goes.

    You can also try migrating mailboxes using the New-MoveRequest cmdlet and check the result:

    New-MoveRequest -Identity '******@contoso.com' -TargetDatabase "DB01"
    
    

    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.


2 additional answers

Sort by: Most helpful
  1. KAI SENG 30 Reputation points
    2023-07-20T06:55:53.5366667+00:00

    Found the solution:

    1. Open powershell
    2. Run this command: dsquery * forestroot -attr * -limit 0 >c:\temp\result.txt
    3. Open results.txt and look for the offending database where it's located in Active Directory and in which object.
    4. Open Active Directory and open the object.
    5. Go to Attribute Editor tab and edit the attribute homeMDB and homeMTA. Click Clear button and OK to accept changes.
    6. Click OK to close the window.

    That's it.

    1 person found this answer helpful.
    0 comments No comments

  2. Amit Singh 5,306 Reputation points
    2023-03-06T14:40:47.18+00:00

    Check the value for msExchOwningPFTree for your Public Folder Database (path above) and make sure it's set to CN=Public Folders,CN=Folder Hierarchies,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Deppmann,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=com


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.