linking existing mailbox to a new user

Posted on 2011-10-07
Last Modified: 2012-05-12
Hi all,

i have set a test environment with a DC-MBX servers. I made it same as my prod, the difference is that domain name of both are different. i imported users to test env from prod. restored prod exchange mailbox databases to test environments and mounted them.
i see that Get-MailboxStatistics command show me the users and item counts. but when i look in Exchange console in Recipient configuration/Mailbox there are no users, as this is fresh new test environment. when i create a new mailbox it does not see the mailbox from restored database, it creates new mailbox.
my questions:
1- how can i get mailboxes from restored database which are now mounted and healthy?
2- what should i do so that when i open outlook for a specific user i get his emails/items from restored database?

thanks in advance
Question by:Skiff-SS-N-23
    LVL 14

    Accepted Solution

    Hi, you will need to use the connect-mailbox powershell command,

    Connect-Mailbox -Identity "John Evans" -Database "MBXDB02" -LinkedDomainController FabrikamDC01 -LinkedMasterAccount

    Open in new window

    Taken from

    Because the users were not migrated with sid history any delegations to mailboxes will be lost once you reconnect them.
    LVL 10

    Expert Comment


    Author Comment


    check this one
    i think it is not my case, because i mounted database in a normal way, not a recovery database.

    Author Comment

    i solved the issue, the parameters -LinkedDomainController  -LinkedMasterAccount  were not useful in my case, i found different cmdlet for my scenario

    [PS] C:\>Connect-Mailbox -Identity "Alan Reid" -Database MB-HO-01 -User Alan.Reid

    Author Comment

    I've requested that this question be closed as follows:

    Accepted answer: 0 points for Skiff-SS-N-23's comment http:/Q_27385015.html#36929987

    for the following reason:

    found from other source

    Author Comment

    the most correct choice
    LVL 14

    Expert Comment

    I believe my suggestion to use the connect-Mailbox command did in fact work therefore I should get the points.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now