I got a call last week on how to move an Exchange mailbox from one user to another.
You need to disconnect the user from the mailbox and then connect the new user account. This is very easy in PowerShell.
- Lookup on which storage group/mailbox store the user is connected at this moment (if there is more than 1 storage group)
- Disable the user for Exchange (command-shell): Disable-Mailbox -Identity “Full Username”
This will remove all Exchange properties on the User account in Active Directory (you will be prompted to delete all info). The mailbox will not be deleted. The connection between the account and mailbox will be removed. - Reconnect the mailbox to the account.Use the command-shell :
Connect-Mailbox -Identity “Full Username” -Database “ServerStorage GroupMailboxstore” -User “Domainusername” - Check the properties of the mailbox.