How to enable automatic email archiving in Outlook for Microsoft Office 365

Brendan Nelson 0 Reputation points
2023-11-10T17:30:41.7466667+00:00

Hi all,

My goal is to enable automatic archiving of emails for my organization such that all emails older than 1 year, will be moved to the Online Archive in Outlook. This is primarily to conserve inbox storage by leveraging the 100GB of space available in the Online Archive. I have the following roles assigned in the Exchange admin console: Exchange Administrator, User Administrator, & Global Reader.

Please note the below:

Software Versions
Microsoft® Outlook® for Microsoft 365 MSO (Version 2310 Build 16.0.16924.20054) 64-bit

Microsoft Outlook for Mac Version 16.78.3 (23102801)

License Version
Office 365 E3

OS Versions
Win 11 22H2
Win 10 22H2
Sonoma 14.1 (macOS)

Currently, I have successfully enabled the Online Archive for all user mailboxes via Exchange Online connected through Powershell:

Enable archive mailbox for all users:

Get-Mailbox -Filter {ArchiveStatus -Eq "None" -AND RecipientTypeDetails -eq "UserMailbox"} | Enable-Mailbox -Archive (PowerShell script credit: https://lazyadmin.nl/office-365/outlook-online-archive-for-office-365-explained/)

I have confirmed with all users that they see Online Archive in their Outlook navigation pane, as well as In-Place Archive in their Outlook Web App.
User's image

User's image

The first issue I am seeing, is that if users have emails that fit the criteria of older than 365 days, a negligible amount of their emails have moved to their Online Archive with emails older than 365 days still present in their inbox and/or subfolders. I have confirmed with multiple users who are over 75% of their inbox capacity, their inbox utilization remains unchanged. I have also verified in the Exchange Admin Center.

The second issue is that some user mailboxes accessed on Windows (regardless of OS) are seeing differing options to change when to move items to the archive.

My user mailbox options:
User's image

User mailbox options for shared conference room account (both PCs are Win 11 22H2)
User's image

All mailboxes have the same Sharing policy, Role assignment policy and Retention policy in Exchange admin center:
User's image

While the users who have Policy tab in Properties can select when to move items to archive when older than 1 year, the goal is to have this performed automatically with no user intervention. I have not yet tested whether selecting an option under Policy works for users.

Moreover, only the above options show for users under the Online Archive section in Policy, however the default MRM policy includes the below retention tags:
User's image

I have also verified this in PowerShell while connected to Exchange Online:
User's image

(PowerShell script credit: https://learn.microsoft.com/en-us/microsoft-365/troubleshoot/retention/mrm-and-retention-policy)

This is the third issue.

I have verified that the Managed Folder Assistant ran successfully last night on one user's mailbox, however the items are still not archiving:
User's image

(PowerShell script credit: https://learn.microsoft.com/en-us/answers/questions/854534/powershell-command-to-check-when-was-the-last-time)

For our two (2) mac users, one (1) of them sees the below option when right-clicking on a folder and viewing the retention option:
User's image

The other user sees only the checked option, regardless of the folder. This is the fourth issue. My tentative plan is to have this user login to a Windows PC and verify behavior however this issue is present on two separate mac devices.

Currently, there is one other retention policy in place from 1/10/2020, and while the status in Microsoft Purview shows as enabled, the following error is present:

"Your policy is not in effect. Use the instructions below to resolve these errors and prevent content from being modified or deleted."

"We couldn't find this location: A mailbox or site might have been deleted, moved, or renamed. When you remove the location from the policy, we'll automatically update and retry the policy."

The retention period on this policy is 10 years and it applies to the below:

Exchange mailboxes

SharePoint classic and communication sites

OneDrive accounts

Microsoft 365 Group mailboxes & sites

Exchange public folders

While this policy is not in effect, would it need to be removed or fully disabled (where no errors are present) for the default MRM policy to work as expected? I would think not as some partial archives have been created already.

Thank you in advance for reading all of these details.

Any and all guidance on how to resolve this issue for all users, ensuring uniform and consistent archiving automatically, with no user intervention required, is greatly appreciated.

Microsoft Exchange Online
Outlook
Outlook
A family of Microsoft email and calendar products.
3,813 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,225 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,515 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 105.6K Reputation points MVP
    2023-11-10T18:13:38.4766667+00:00

    Few things to note:

    1. Only the Exchange (legacy) retention policies can do archiving, any policy that you have configured under the Microsoft 365 page in the Purview portal do not matter.
    2. The Default MRM Policy shown above seems to lack a "default" tag. Default tags are what you need if you want items to be processed without any user interaction. In contrast, Personal tags need to be manually applied. Folder-specific tags also work automatically, but they only affect the given folder.
    3. It can take some time for the policy to start working "as expected", especially when you initially enable it, and for large mailboxes. The ELC stats above do show the mailbox has been processed, but only show a single tagged folder, which brings us back to #2 - either use a default tag, or make sure all relevant items/folders are tagged. Either way, give it some time, as the ELC processing in ExO has a SLA of 1 week.
    4. Shared/Room mailboxes do support the Online archive, but you must license the account. In addition, you need to add it as Additional account in Outlook (via File > Add account) in order to expose the full functionality. Otherwise, you will end up seeing the AutoArchive feature instead.
    5. For the Mac scenario, as well as for any shared/room mailbox, it's best to use OWA to configure/check the retention tags. For the latter, use the Open another mailbox functionality after clicking your name in the top right corner.
    1 person found this answer helpful.

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.