Use the Shell to convert a mailbox to a linked mailbox
Important: |
---|
Performing this procedure on a mailbox removes all permissions on the mailbox, such as Send As, Full Access, folder permissions, and calendar delegation. |
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. |
-
To disconnect the mailbox object in the Exchange store from the user object in Active Directory, use this example.
Disable-Mailbox -Identity User1
-
To create a credential object, run the following command.
$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.
-
To reconnect the mailbox object in the Exchange store to an external user object, use this example.
Connect-Mailbox -Identity User1 -Database "Mailbox Database" -LinkedDomainController FabrikamDC01 -LinkedMasterAccount This email address is being protected from spambots. You need JavaScript enabled to view it. -LinkedCredential $cred
For detailed syntax and parameter information, see Disable-Mailbox or Connect-Mailbox.
Or
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
.
Note: |
---|
After you run this command, you have to remove the FullAccess, ExternalAccount permissions from the mailbox. |
Set-User -Identity This email address is being protected from spambots. You need JavaScript enabled to view it. -LinkedMasterAccount $null
For detailed syntax and parameter information, see Set-User.