After Reconnect an Exchange Archive Mailbox it is empty

2023-09-15T14:23:53.3+00:00

Hi!

I have a user with archive mailbox enabled (Exchange 2016)
For some reasons i've disable mailbox for this user, Archive mailbox for this user was disabled too.
I've recreate mailbox for this uesr. Now I need to reconnect old archive mailbox to this user.
But I've encountered a problem: after I've reconnect old archive mailbox it turned out to be empty.
For testing purposes I've disabled archive for this user again and then connected it to another test user. In this case connected old archive is not empty, it is contains some data as it should be.

I've reconnected this old archive back to original user and it is empty again!
To recoonect arhive to user I've using this command:

Enable-Mailbox -ArchiveGuid <old archive mailbox GUID> -ArchiveDatabase <Mailbox database, where old archive mailbox is placed> -Identity <Id>

What I am doing wrong? Why archive mailbox is it empty, although it actually has data?

Exchange | Exchange Server | Management
Exchange | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Amit Singh 5,306 Reputation points
    2023-09-18T05:54:04.8066667+00:00

    Your archive mailbox may be empty for a number of reasons.

    The archive mailbox was purged. When an archive mailbox is disabled, it is kept in the mailbox database for a predetermined period of time. Exchange keeps disconnected archive mailboxes for a 30-day period by default. The original archive mailbox's contents are permanently erased (purged from the mailbox database) after 30 days and cannot be restored.

    The archive mailbox is corrupted. You might not be able to access the contents of the archive mailbox if it is corrupted.

    Verify that the archive mailbox was not purged

    Get-Mailbox -Identity <user mailbox identity> | Select-Object ArchiveStatus

    Also, check this article - https://learn.microsoft.com/en-us/exchange/policy-and-compliance/in-place-archiving/manage-archives?view=exchserver-2019..

    0 comments No comments

  2. Евгений Котляревский 41 Reputation points
    2023-09-18T13:54:22.2733333+00:00

    Thanks to All for answers. But they all no my case.
    In my case, the reason turned out to be that I was connecting the wrong mailbox. In my organization I had two disconnected archive mailboxes with the same GUID, but placed in different mailbox databases.
    So I've connected "right" mailbox and and everything worked.

    0 comments No comments

  3. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2023-09-20T08:44:04.57+00:00

    Hi @ Евгений Котляревский,

    In my case, the reason turned out to be that I was connecting the wrong mailbox. In my organization I had two disconnected archive mailboxes with the same GUID, but placed in different mailbox databases.

    Great to know that you've already thought of a solution and really appreciate it for your sharing!

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [After Reconnect an Exchange Archive Mailbox it is empty]

     

    Issue Symptom:

    I have a user with archive mailbox enabled (Exchange 2016)
    For some reasons i've disable mailbox for this user, Archive mailbox for this user was disabled too.
    I've recreate mailbox for this uesr. Now I need to reconnect old archive mailbox to this user.
    But I've encountered a problem: after I've reconnect old archive mailbox it turned out to be empty.
    For testing purposes I've disabled archive for this user again and then connected it to another test user. In this case connected old archive is not empty, it is contains some data as it should be.

    I've reconnected this old archive back to original user and it is empty again!

     

    The Solution:

    Run the following command to get the properties of the archive mailbox for the test mailbox and user mailbox connection:

    Get-mailbox -Identity user1 |fl *ArchiveDatabase,*ArchiveGuid
    

    Compare whether the parameters of the valid mailbox and the problem mailbox are consistent.

     


    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.