Restoring a Disconnected Mailbox - Nero Blanco IT Migration Specialists
-
Twan van Beers
-
05 September, 2014
in Exchange
I came across an issue at a client where for reasons as yet unknown about 15 users across various servers/databases in a single DAG suddenly had their mailboxes disconnected and a new one created. Now the mailboxes had different GUIDs of course, but they had the same LegacyExchangeDN and the users were now connected to the newer (and pretty much empty) mailbox.
After working out that a new mailbox had indeed been created for those users we starting thinking about how to get the data merged together. At first we looked at options of PST export/import and using search-mailbox, however both of those require the mailbox to be connected. Now that looked like it might be simple enough, reconnect the mailbox and grab the data to place it into their new mailbox and all is sorted…
Problem… Connecting a disconnected mailbox when you have an active mailbox that has the same LegacyExchangeDN isn’t possible… So, what to do now…? We thought about amending the user’s live AD object, changing the LEDN, etc. but that just seemed far too complicated. After some googling, we found a surprisingly simple answer… New-MailboxRestoreRequest to the rescue.
Now although intuitively it might seem like New-MailboxRestoreRequest is only for taking data from the Recovery Storage Group, it works for any mailbox. One small issue was how to address the source mailbox, since it had the same DisplayName and LegacyEschangeDN, but fortunately we can use a GUID.
New-MailboxRestoreRequest -SourceDatabase DB1 -SourceStoreMailbox "{GUID}" -TargetMailbox 'User Display Name'wait for the MRS to finish the job and voila, problem solved.
Now in our case the LegacyExchangeDN remained the same, so we had no issues with restoring, if you do need to restore into a mailbox that has a different LegacyExchangeDN from the source mailbox, have no fear… New-MailboxRestoreRequests has a parameter called AllowLegacyDNMismatch!
So a short post today, but hopefully a useful and time saving one. Until next time
Twan van Beers
Twan is a senior consultant with over 30 years of experience. He has a wide range of skills including Messaging, Active Directory, SQL, Networking and Firewalls. Twan loves to write scripts and get deep and dirty into debugging code, in order to understand and resolve the most complex of problems.
News & Insights
Trusted insights on technology and innovation to power your business growth.
-
03/06/2026
A practical engineering guide to owners, assignment, consent, credentials and ...
Read More
-
19/05/2026
Domain migrations in Microsoft 365 are rarely as simple as shifting email ...
Read More
-
12/05/2026
Over the past 10 to 15 years, Microsoft 365 has fundamentally reshaped how ...
Read More
-
07/05/2026
Yesterday we had an all company meeting and I thought it would be cool to kick ...
Read More
-
07/05/2026
Planning a tenant-to-tenant migration? Talk to us
Read More
-
31/03/2026
In tenant-to-tenant (T2T) and Google-to-Microsoft 365 migration projects, ...
Read More
-
27/03/2026
You’d think this would be easy and not an uncommon request. There are genuine ...
Read More
-
23/03/2026
Managing Google to Microsoft Migration with GAM7 and PowerShell
Read More
-
16/03/2026
When a user leaves an organisation in Microsoft 365, administrators have ...
Read MoreSubscribe to our newsletter for the latest updates and insights.
Like what you see? Stay in touch! Subscribers to our email list are among the first to receive the latest news, views and updates from Nero Blanco
Restoring a Disconnected Mailbox - Nero Blanco IT Migration Specialists">