Connect user to different mailbox

%3CLINGO-SUB%20id%3D%22lingo-sub-1156559%22%20slang%3D%22en-US%22%3EConnect%20user%20to%20different%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1156559%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20very%20new%20to%20all%20the%20Exchange%20administration%20and%20not%20sure%20about%20the%20following%20task%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EI%20have%20two%20users%2C%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CEM%3Ejohn%20smith%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FEM%3Ewith%20mailbox%3A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3CEM%3Ejohn.smith%40info.net%3C%2FEM%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CEM%3Einvoice%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FEM%3Ewith%20mailbox%3A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3CEM%3Einvoice%40info.net%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B(%26lt%3B-%20not%20a%20group%2C%20not%20a%20shared%20mailbox)%3C%2FEM%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CEM%3Enow%20i%20want%20to%20fully%20remove%20johns%20mailbox%20and%20connect%20the%20invoice%20mailbox%20%2F%20adress%20%2F%20everything%20to%20him.%3C%2FEM%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CEM%3E%26nbsp%3Bjohns%20mailbox%20is%20empty%20and%20irrelevant%20and%20he%20dont%20want%20to%20use%20his%20personal%20mailadress.%20he%20wants%20to%20be%20invoice%40info.net%26nbsp%3B.%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CEM%3ECan%20somebody%20tell%20me%20how%20to%20do%20this%3F%20I%20dont%20want%20to%20lose%20data%20and%20have%20no%20clue%20what%20to%20do.%3C%2FEM%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CEM%3EI'm%20thinking%20of%20exporting%20invoice%40%20as%20.pst%2C%20deleting%20john%20and%20invoice%20in%20exchange%20and%20creating%20a%20new%20invoice%20mailbox%20that%20i%20asign%20to%20john%20and%20import%20all%20old%20data%20-%20but%20this%20seems%20not%20really%20pretty%20to%20me.%3C%2FEM%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CEM%3EBTW%3A%20Exchange%202019%20on%20premise%3B%20Server%202019%20with%20AD%20DC%20on%20premise%2C%20one%20domaine%2C%20nothing%20special.%3C%2FEM%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1156559%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1163142%22%20slang%3D%22en-US%22%3ERe%3A%20Connect%20user%20to%20different%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1163142%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F266205%22%20target%3D%22_blank%22%3E%40HT686%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%26nbsp%3B%3CEM%3Edisable%3C%2FEM%3E%20a%20mailbox%20which%20disconnects%20it%20from%20a%20user%20account%2C%20then%20reattach%20the%20mailbox%20to%20a%20different%20user%20account.%20This%20will%20avoid%20having%20to%20export%20the%20mailbox%20as%20PST%20and%20reimport%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FExchange%2Frecipients%2Fdisconnected-mailboxes%2Fdisable-or-delete-mailboxes%3Fview%3Dexchserver-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FExchange%2Frecipients%2Fdisconnected-mailboxes%2Fdisable-or-delete-mailboxes%3Fview%3Dexchserver-2019%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FExchange%2Frecipients%2Fdisconnected-mailboxes%2Fconnect-disabled-mailboxes%3Fview%3Dexchserver-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FExchange%2Frecipients%2Fdisconnected-mailboxes%2Fconnect-disabled-mailboxes%3Fview%3Dexchserver-2019%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20want%20to%20disconnect%20the%20invoice%20mailbox%2C%20disconnect%20Johns%20mailbox%2C%20then%20reconnect%20the%20Invoice%20mailbox%20to%20Johns%20profile.%20If%20there%20is%20nothing%20in%20Johns%20mailbox%20it%20can%20remain%20disconnected%20and%20will%20be%20purged%20from%20the%20database%20after%2030%20days%20by%20default%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20make%20sure%20you%20have%20a%20good%20Exchange%20backup%20before%20you%20do%20make%20any%20changes%20-%20there%20isn't%20much%20there%20that%20isn't%20reversible%20or%20fixable%20if%20you%20hit%20problems%20but%20it's%20always%20practice.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMark%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1165345%22%20slang%3D%22en-US%22%3ERe%3A%20Connect%20user%20to%20different%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1165345%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F345947%22%20target%3D%22_blank%22%3E%40oliwer_sjoberg%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20believe%20the%26nbsp%3B%3CSTRONG%3ERemove-Mailbox%20-Identity%20%22John.smith%40invoice.net%22%26nbsp%3B%3C%2FSTRONG%3Ewill%20also%20delete%20the%20john.smith%20AD%20user%20object%20at%20the%20same%20time.%20Replacing%20it%20with%26nbsp%3B%3CSTRONG%3EDisable-Mailbox%3C%2FSTRONG%3E%26nbsp%3Bshould%20keep%20the%20AD%20account%20intact.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1165317%22%20slang%3D%22en-US%22%3ERe%3A%20Connect%20user%20to%20different%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1165317%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F266205%22%20target%3D%22_blank%22%3E%40HT686%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20could%20be%20done%20in%20two%20simple%20steps%20with%20Powershell%20%2F%20Exchange%20management%20Shell%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20we%20disable%2FDisconnect%20the%20Invoice%20mailbox%3C%2FP%3E%3CP%3E%3CSTRONG%3EDisable-Mailbox%26nbsp%3B%20-Identity%20%22Invoice%40info.net%22%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20we%20delete%20Johns%20mailbox%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EDisable-Mailbox%20-Identity%20%22John.smith%40invoice.net%22%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20this%2C%20we%20will%20now%20reconnect%20the%20Invoice%20mailbox%2C%20but%20to%20Johns%20AD%20user%26nbsp%3B%3C%2FP%3E%3CP%3ENote%20that%20%22MXDB01%22%20Will%20need%20to%20be%20replaced%20with%20ypur%20databse%20name.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EConnect-Mailbox%20-Identity%20%22Invoice%22%20-Database%20%22MXDB01%22%20-User%20%22John%20Smith%22%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you%20need%20further%20assistance%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20RegardsOliwer%20Sj%C3%B6berg%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1165827%22%20slang%3D%22en-US%22%3ERe%3A%20Connect%20user%20to%20different%20mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1165827%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F383653%22%20target%3D%22_blank%22%3E%40HidMov%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou're%20correct%2C%20I%20typed%20to%20fast%20haha%20%3A)%3C%2Fimg%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20edited%20the%20reply%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

 

I am very new to all the Exchange administration and not sure about the following task:

 

I have two users, 

john smith       with mailbox:      john.smith@info.net   

invoice      with mailbox:      invoice@info.net      (<- not a group, not a shared mailbox)

 

now i want to fully remove johns mailbox and connect the invoice mailbox / adress / everything to him.

 johns mailbox is empty and irrelevant and he dont want to use his personal mailadress. he wants to be invoice@info.net . 

 

Can somebody tell me how to do this? I dont want to lose data and have no clue what to do.

I'm thinking of exporting invoice@ as .pst, deleting john and invoice in exchange and creating a new invoice mailbox that i asign to john and import all old data - but this seems not really pretty to me.

 

 

BTW: Exchange 2019 on premise; Server 2019 with AD DC on premise, one domaine, nothing special.

 

 

4 Replies
Highlighted

Hi @HT686 

 

You can disable a mailbox which disconnects it from a user account, then reattach the mailbox to a different user account. This will avoid having to export the mailbox as PST and reimport it.

 

https://docs.microsoft.com/en-us/Exchange/recipients/disconnected-mailboxes/disable-or-delete-mailbo...

 

https://docs.microsoft.com/en-us/Exchange/recipients/disconnected-mailboxes/connect-disabled-mailbox...

 

You might want to disconnect the invoice mailbox, disconnect Johns mailbox, then reconnect the Invoice mailbox to Johns profile. If there is nothing in Johns mailbox it can remain disconnected and will be purged from the database after 30 days by default

 

I would make sure you have a good Exchange backup before you do make any changes - there isn't much there that isn't reversible or fixable if you hit problems but it's always practice.

 

Hope this helps,

 

Mark

Highlighted

Hello @HT686 

 

This could be done in two simple steps with Powershell / Exchange management Shell 

 

First we disable/Disconnect the Invoice mailbox

Disable-Mailbox  -Identity "Invoice@info.net" 

 

Then we delete Johns mailbox 

 

Disable-Mailbox -Identity "John.smith@invoice.net" 

 

After this, we will now reconnect the Invoice mailbox, but to Johns AD user 

Note that "MXDB01" Will need to be replaced with ypur databse name. 

 

Connect-Mailbox -Identity "Invoice" -Database "MXDB01" -User "John Smith"

 

Let me know if you need further assistance 

 

Kind Regards
Oliwer Sjöberg

Highlighted

Hi @oliwer_sjoberg 

 

I believe the Remove-Mailbox -Identity "John.smith@invoice.net" will also delete the john.smith AD user object at the same time. Replacing it with Disable-Mailbox should keep the AD account intact. 

Highlighted

Hi @HidMov 

 

You're correct, I typed to fast haha :) 

I've edited the reply