Forum Discussion

lukemiller101001's avatar
lukemiller101001
Copper Contributor
Jul 07, 2023

Online Archive Not Working for One User

Hi,

I am experiencing an issue with the online archive for one of my users. The online archive has been working correctly for this user for years, but it has not archived any emails for the past six months. I have checked the licensing, retention tags, and retention policy, and everything appears to be correctly configured. I have also tried running the Start-ManagedFolderAssistant cmdlet multiple times, but it has not resolved the issue.

Other users in my organization have the same retention policy and their online archives are working correctly. I have also tried changing the retention policy for the affected user to one that is known to work for other users, but this did not resolve the issue.

I have tried running several cmdlets to gather more information about the issue, including Get-Mailbox | FL RetentionPolicy, Export-MailboxDiagnosticLogs -Identity -ExtendedProperties, Get-RetentionPolicy | FL Name, Get-RetentionPolicyTag, Get-ComplianceTag, Get-Mailbox | fl *hold*, Get-MailboxStatistics | fl ManagedFolderAssistantLastRunTime, Get-Mailbox -Archive | fl *, and Get-MailboxFolderStatistics -Archive | fl *. However, none of these cmdlets have helped me identify the cause of the issue. The output from these cmdlets appears to be normal and does not indicate any issues with the mailbox or the archive mailbox.

One thing I noticed is that the Get-MailboxStatistics | fl ManagedFolderAssistantLastRunTime cmdlet does not return any output for any of my users, even though I have run the Start-ManagedFolderAssistant cmdlet multiple times.

I am at a loss as to what could be causing this issue and would appreciate any suggestions or guidance on how to troubleshoot it further.

Thank you

  • nlbaailey05's avatar
    nlbaailey05
    Copper Contributor

    https://tyksinski.com/fix-o365-exchange-mailbox-not-archiving/

    For me there was a Retention hold on the mailbox I was attempting to enable Online Archiving on. I disabled that then ran "start-ManagedFolderAssistant" on that mailbox and it started going. Hope that helps someone. I was banging my head on this issue for a while. Copied above is the article that helped me. 

  • Pat_Wickers's avatar
    Pat_Wickers
    Copper Contributor

    If anyone is still looking for a fix, please run below script.

    Had this issue with 4 of my massive mailboxes and worked like a charm.

     

    Install-Module -Name ExchangeOnlineManagement -Scope CurrentUser

    Import-Module -Name ExchangeOnlineManagement

    Connect-ExchangeOnline

    start-ManagedFolderAssistant -identity email address removed for privacy reasons

  • I just found an inconsistency I apparently glosed over earlier. (I obviously changed all the values, but this it what it looks like)


    Get-Mailbox email address removed for privacy reasons | Format-List Name,*Archive*


    Name : FirstName LastName
    ArchiveDatabase : EURPR09BG750-db100
    ArchiveDatabaseGuid : 12ab3456-7890-1c2d-e34f-g5h67i89jk0l
    ArchiveGuid : 12ab3456-c7d8-9012-e3fg-456h78901i2j
    ArchiveName : {In-Place Archive - FirstName LastName}
    JournalArchiveAddress :
    ArchiveQuota : 100 GB (107,374,182,400 bytes)
    ArchiveWarningQuota : 90 GB (96,636,764,160 bytes)
    ArchiveDomain :
    ArchiveStatus : Active
    ArchiveState : Local
    AutoExpandingArchiveEnabled : False
    DisabledArchiveDatabase : EURPR09BG750-db100
    DisabledArchiveGuid : 123c3193-1234-4055-a9aa-123e28557a0f
    ArchiveRelease :

    The User has both an ArchiveDatabase Entry and a Disabled ArchiveDatabase whilste the Archive Status is Active

    It should either look like this after beeing disabled:

    Name : FirstName LastName
    ArchiveDatabase :
    ArchiveDatabaseGuid : 00000000-0000-0000-0000-000000000000
    ArchiveGuid : 00000000-0000-0000-0000-000000000000
    ArchiveName : {}
    JournalArchiveAddress :
    ArchiveQuota : 100 GB (107,374,182,400 bytes)
    ArchiveWarningQuota : 90 GB (96,636,764,160 bytes)
    ArchiveDomain :
    ArchiveStatus : None
    ArchiveState : None
    AutoExpandingArchiveEnabled : False
    DisabledArchiveDatabase : EURPR06DG400-db100
    DisabledArchiveGuid : 123c3193-1234-4055-a9aa-123e28557a0f
    ArchiveRelease :

    Or like this after being enabled again:

    Name : FirstName LastName
    ArchiveDatabase : EURPR09BG750-db100
    ArchiveDatabaseGuid : 12ab3456-7890-1c2d-e34f-g5h67i89jk0l
    ArchiveGuid : 12ab3456-c7d8-9012-e3fg-456h78901i2j
    ArchiveName : {In-Situ-Archiv – FirstName LastName}
    JournalArchiveAddress :
    ArchiveQuota : 100 GB (107,374,182,400 bytes)
    ArchiveWarningQuota : 90 GB (96,636,764,160 bytes)
    ArchiveDomain :
    ArchiveStatus : Active
    ArchiveState : Local
    AutoExpandingArchiveEnabled : False
    DisabledArchiveDatabase :
    DisabledArchiveGuid : 00000000-0000-0000-0000-000000000000
    ArchiveRelease :

    Seems to me that might be the issue!
    (I did the test of deactivating and reactivating the Archive with my mailbox because I didnt want to risk loosing any data that might be stored in either of the 2 Archives that the User seems to have for no apparent reason. interestingly doing so changed the Name of my Archive from "In-Place Archive - FirstName LastName" to "In-Situ-Archiv – FirstName LastName")
  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    lukemiller101001 

    If you have already checked various settings and ran several cmdlets without finding a resolution to the online archive issue for the specific user, here are a few additional troubleshooting steps you can try:

    1. Check Archive Mailbox Permissions:
      • Ensure that the affected user has the appropriate permissions assigned to their archive mailbox.
      • Verify that the user has the necessary rights to access and modify the archive mailbox.
      • You can use the Get-MailboxPermission cmdlet to check and adjust the permissions if needed.
    2. Verify Mailbox Quotas:
      • Confirm that the user's mailbox and archive mailbox have sufficient storage space available.
      • Check the mailbox and archive mailbox quotas to ensure they are not restricting the archiving process.
      • Adjust the quotas if necessary using the Set-Mailbox and Set-MailboxDatabase cmdlets.
    3. Review Error Logs:
      • Examine the Event Viewer logs on the Exchange server for any relevant error messages or warnings related to the online archive process.
      • Look for specific error codes or events that could provide more insights into the issue.
      • If you find any error codes or messages, search for their corresponding resolutions in Microsoft's documentation or reach out to Microsoft support for further assistance.
    4. Exchange Server Updates:
      • Ensure that the Exchange server is up to date with the latest cumulative updates and patches.
      • Updating the Exchange server can resolve known issues and improve the functionality of features like online archiving.
    5. Escalate to Microsoft Support:
      • If the issue persists and you have exhausted all available troubleshooting options, consider opening a support case with Microsoft Support.
      • Provide them with detailed information about the issue, the steps you have already taken, and any relevant error messages or logs you have collected.
      • Microsoft Support can further investigate the issue and provide you with specific guidance and assistance.

    Remember to backup any important data before making any significant changes to the user's mailbox or archive mailbox. My knowledge of this topic is limited, but since no one has answered it for at least one day and more, I entered your question in various AI. The text and the steps are the result of various AI's put together.

    My answers are voluntary and without guarantee!

    Hope this will help you.

    • lukemiller101001's avatar
      lukemiller101001
      Copper Contributor

      NikolinoDE 

       

      i have defenitly done the first two things, but since it's O365 and not a local Exchange server I didn't have to update it, but I also didn't know where to look for error logs or even what to look for in the error codes really. I also dont really want to escalate to Microsoft Support since my experience sofar has allways been very annoying, they never where helpfull at all! 

Resources