Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-23

A linked mailbox is a mailbox that's associated with an external account. The resource forest scenario is an example of when you would want to associate a mailbox with an external account. In a resource forest scenario, user objects in the Exchange forest have mailboxes, but the user objects are disabled for logon. You must associate these mailbox objects in the Exchange forest with enabled user objects in the external accounts forest.

Looking for other management tasks related to user mailboxes? Check out Managing User Mailboxes.

Use the Shell to convert a mailbox to a linked mailbox

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Recipient Provisioning Permissions" section in the Mailbox Permissions topic.

Note:
You can't use the EMC to convert a mailbox to a linked mailbox.
  1. To disconnect the mailbox object in the Exchange store from the user object in Active Directory, use this example.

    Copy Code
    Disable-Mailbox -Identity User1
    
  2. To create a credential object, run the following command.

    Copy Code
    $cred = Get-Credential
    
    You will be prompted for credentials. Specify an account that has permissions to access the domain controller in the forest where the user account resides. Use the LinkedDomainController parameter to specify the domain controller. This domain controller obtains security information for the account to which you are linking the mailbox object.

  3. To reconnect the mailbox object in the Exchange store to an external user object, use this example.

    Copy Code
    Connect-Mailbox -Identity User1 -Database "Mailbox Database" -LinkedDomainController FabrikamDC01 -LinkedMasterAccount user1@fabrikam.com -LinkedCredential $cred
    

For detailed syntax and parameter information, see Disable-Mailbox or Connect-Mailbox.

Use the Shell to convert a linked mailbox to a user mailbox

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Recipient Provisioning Permissions" section in the Mailbox Permissions topic.

Note:
You can't use the EMC to convert a linked mailbox to a user mailbox.

This example converts Kweku’s mailbox from a linked mailbox to a non-linked user mailbox by setting the LinkedMasterAccount parameter to null.

Important:
Performing this procedure on a linked mailbox removes all permissions on the mailbox, such as Send As, Full Access, folder permissions, and calendar delegation.
Copy Code
Set-User -Identity kweku@fabrikam.com -LinkedMasterAccount $null

For detailed syntax and parameter information, see Set-User.