Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2009-04-09
This topic explains how to use the Exchange Management Console or the Exchange Management Shell to convert a user mailbox to a linked mailbox.
A linked mailbox is a mailbox that is 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.
The Set-Mailbox command includes the ability to perform mailbox class conversions for shared, regular, and equipment mailboxes. However it does not provide this option for linked mailboxes. Linked mailboxes may be created when an Associated External Account is incorrectly linked to the SELF account, or the Associated External Account is incorrectly configured when you migrate from Exchange 2000 or Exchange 2003 to Exchange 2007 within the same forest.
Do not try to make any changes to the Associated External Account settings. Instead, you must first move the mailbox from Exchange 2000 or Exchange 2003 to Exchange 2007. In this case, a linked mailbox is created. You must follow the steps in the "Procedure" section to correct the issue.
For more information about how to deploy Microsoft Exchange Server 2007 in a resource forest topology, see How to Deploy Exchange 2007 in an Exchange Resource Forest Topology.
Before You Begin
To perform the following procedures, the account that you use must be delegated the following:
- Exchange Recipient Administrator role
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
Procedure
To use the Exchange Management Console to convert a user mailbox to a linked mailbox
-
Disable the user mailbox so that the mailbox object in the Exchange store is disconnected from the user object. For detailed instructions, see How to Disable a Mailbox.
-
Start Active Directory Users and Computers.
-
Expand the domain container, and then click Users.
-
Right-click the name of the user whose mailbox that you want to convert to a linked mailbox, and then click Disable Account.
-
Connect the mailbox as a linked mailbox. For detailed instructions, see How to Connect a Mailbox.
To use the Exchange Management Shell to convert a user mailbox to a linked mailbox
-
Start the Exchange Management Shell.
-
Run the following command:
Copy Code Disable-Mailbox -Identity "<MailboxIDParameter>"
This command disconnects the mailbox object in the Exchange store from the user object in the Active Directory directory service.
-
To create a credential object, run the following command:
Copy Code $c = Get-Credential
You are prompted for credentials. Specify an account that has permissions to access the domain controller in the forest where the user account resides. You will use the LinkedDomainController parameter to specify the domain controller. This domain controller will be used to obtain security information for the account to which you are linking the mailbox object.
-
Start Active Directory Users and Computers.
-
Expand the domain container, and then click Users.
-
Right-click the name of the user whose mailbox that you want to convert to a linked mailbox, and then click Disable Account.
-
To reconnect the mailbox object in the Exchange store to an external user object, run the following command:
Copy Code Connect-Mailbox -Identity "<MailboxIDParameter>" -User "<UserIdParameter>" -Database "<DatabaseIdParameter>" -LinkedDomainController "<Fqdn>" -LinkedMasterAccount "<UserIdParameter>" -LinkedCredential "<PSCredential>"
To use the Exchange Management Shell to convert a linked mailbox to a user mailbox
-
Start the Exchange Management Shell.
-
Run the following command:
Copy Code Disable-Mailbox -Identity "<MailboxIDParameter>"
Note: This removes all Exchange properties on the user account in Active Directory. In this scenario, the mailbox is not deleted. Only the connection between the account and mailbox is removed. -
Reconnect the mailbox to the account:
Copy Code Connect-Mailbox -Identity "<MailboxIDParameter>" -Database "<DatabaseIdParameter>" -User "<UserIdParameter>"
-
Verify the properties of the mailbox in Exchange Management Console, and make sure it is now a user mailbox.
To use the Exchange Management Shell to convert a linked mailbox to a room mailbox
-
Start the Exchange Management Shell.
-
Run the following command:
Copy Code Disable-Mailbox -Identity "<MailboxIDParameter>"
Note: This removes all Exchange properties on the user account in Active Directory. In this scenario, the mailbox is not deleted. Only the connection between the account and the mailbox is removed. -
Reconnect the mailbox to the account:
Copy Code Connect-Mailbox -Identity "<MailboxIDParameter>" -Database "<DatabaseIdParameter>" -Room "<UserIdParameter>"
-
Verify the properties of the mailbox in the Exchange Management Console, and then make sure it is now a room mailbox.
For detailed syntax and parameter information, see the Disable-Mailbox and Connect-Mailbox reference topics.
For More Information
For more information about how to convert other kinds of mailboxes, see How to Convert a Mailbox.