Forum Discussion
lukemiller101001
Jul 07, 2023Copper Contributor
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
- lukemiller101001Copper Contributor
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") - kevkellyBrass Contributor
What is the current Online Archive size for the impacted user, is auto-expanding archive enabled?
To check the current archive size for a given user, the following PowerShell can be used:
Get-MailboxStatistics -Identity <user> -Archive | Select-Object TotalItemSize
To check if AutoExpandingArchive is enabled, the following PowerShell can be used:
Get-Mailbox -Identity <user> | Select-Object AutoExpandingArchiveEnabled
"Each Exchange Online Archiving subscriber initially receives 100 GB of storage in the archive mailbox. When auto-expanding archiving is turned on, additional storage space is automatically added when the 100 GB storage capacity is reached. This incremental addition of storage space continues until the archive storage reaches 1.5 TB."
- lukemiller101001Copper ContributorInterestingly, the Archive seems to be growing, even though there don´t appear to be any new emails in it!
Get-MailboxStatistics -Identity $email -Archive | Select-Object TotalItemSize
TotalItemSize
-------------
19.68 GB (21,134,117,552 bytes) - lukemiller101001Copper Contributor
Get-MailboxStatistics -Identity ..... -Archive | Select-Object TotalItemSize
TotalItemSize
-------------
19.02 GB (20,422,546,166 bytes)Get-Mailbox -Identity .... | Select-Object AutoExpandingArchiveEnabled
AutoExpandingArchiveEnabled
---------------------------
False