A Guide for Setting Up Archive Rules in Microsoft Outlook 365

  author
Written By Mohit Jha
Anuraag Singh
Approved By Anuraag Singh
Published On March 21st, 2024
Reading Time 5 Minutes Reading

This guide works as a helping hand for users looking to setup an archive policy in Outlook 365. Since there are two ways to get this done this includes a manual method, that includes PowerShell scripts, and an automated quick method using the software. Go through the write-up explore different ways and choose the preferred way to configure the archive policy in Microsoft 365.

Email is the most prominent and preferred way of communication on which organizations rely today. With tons of email exchanges end users’ mailboxes get full at times in the Microsoft 365 suite. Which can create a communication halt fortunately, Microsoft offers an automated way to overcome this scenario by turning on the archive mailboxes option.

Before heading towards the policies, It is crucial to learn more about the archive mailboxes aka in-place archive or online archive mailboxes in Microsoft 365. 

What are Exchange Online Archive Mailboxes?

Coming to the names, In-place archive mailboxes or Online archive mailboxes are often used interchangeably and are secondary mailboxes apart from the regular user mailboxes. 

To be more specific, the In-place archive term is used for the on-premise Exchange Server context. Whereas Online archive mailboxes are often used in the context of Exchange Online (Microsoft 365). 

When you turn on the archive mailbox then the current user mailbox becomes the primary mailbox and an additional and associated mailbox gets created which acts as a secondary mailbox. It allows users to move their email data from their primary mailbox to the archive mailbox. Let’s take a look at the comparison between both of them.

Maximum archive mailbox size Application scope Licensing
In-Place Archive (On-Premise Exchange Server) Unlimited On-premises Exchange Environments Enterprise Licensing
Online Archive

(Exchange Online aka Microsoft 365)

From 50GB up to 1.5TB Cloud & Hybrid Environments Included as part of a Plan or purchased additionally.

 

What’s a Myth About Archive Mailboxes?

There is confusion regarding archive mailboxes, you must have noticed an Archive button in Outlook or Outlook on the web (OWA). It is not the archive mailbox it’s just a by default folder that helps you organize your emails more efficiently similar to a sent folder or deleted folder.

Since the overview of the archive mailbox is completed now let’s address the elephant in the room i.e. How to setup archive in Outlook 365?

Setting Up Archive Policy in Office 365 Using   

Before configuring the archive policy it is important to enable the archive mailbox in Office 365. Else it would not make any sense. 

Once you enable the archive mailbox, now you can move to another pre-requisite i.e. configure retention tags. A retention tag can be defined as a rule for data archive or retention, it can be applied to the entire mailbox, or a specific folder of a mailbox. To be more specific it defines the actions. These include:

  • An action to delete, archive, or permanently delete, etc items more specifically emails like a mailbox or a particular folder.
  • Triggers the action on the item(s) when the age of the item(s) is reached. 

It does not do anything by itself, unless not added to a retention (archive) policy for specific user mailboxes in Microsoft 365.

PowerShell Scripts to Create a Retention Tag

Here we’re going to to configure retention policies with PowerShell if you want to create a tag named Auto-archiving (2 years) which automatically archives emails that are at least 2 years old from the primary mailbox to the archive mailbox, then follow the below steps and the PowerShell scripts.

Connect to Exchange Online and run the cmdlets listed below:

New-RetentionPolicyTag “Auto-archiving (2 years)” -Type All -RetentionEnabled $true -AgeLimitForRetention 730-RetentionAction MoveToArchive

Suppose you want to configure a tag named Manual archiving (3 years) letting users manually archive items that are at least 3 years old. Then run the below PowerShell scripts.

New-RetentionPolicyTag “Manual archiving (3-year)” -Type Personal -RetentionEnabled $true -AgeLimitForRetention 1095-RetentionAction MoveToArchive

Configuring Archive Policy in Office 365 

Now retention tags are created it is time to put them into action. You can do this by configuring an MRM (messaging records management) archive policy. There are two ways that you can do it. These include:

Revising the By Default MRM Retention Policy in Microsoft 365 (Effortless Way)

Step 1. Navigate to the Microsoft Purview compliance portal, and sign in with a privileged account. This includes Global Admin, Compliance Admin, Organization Management, etc. 

Step 2. From the left menu navigate to Data Lifecycle Management and click on Exchange (legacy), choose the MRM Retention policies tab.

Step 3. Choose the default policy and click on the Edit button. A “Configure your policy” wizard will open.

Step 4. Click on the Add tag Button. Not a window will open from the right side of the pane. Here you will find the tag(s) created earlier. 

Step 5. Check the desired tags, these tags will be added to that policy. Now hit the Next button to review your settings and then hit the Submit button. Click on the Done button to apply all changes.

A Better Alternative to Setup Archiving Policy in Outlook 365

Although Microsoft offers a smart feature using which we can set up an archive in Outlook 365. Using this archive mailbox users can save space primary mailbox space and keep the unimportant emails in the archive mailbox itself. 

However, it should not be misunderstood with backup. An archive solution does not ensure data safety unless you keep a backup of these data locally. Additionally, the archive data is also stored in the Microsoft data center, if your account gets compromised then you can also lose the archive data. 

To address these limitations and leverage additional advantages which include compliance with relevant laws, comprehensive control over crucial enterprise data, immediate access to locally stored backups, automated and ongoing backup creation, and many more, then you can switch to SysTools Office 365 Backup Tool.

  author

By Mohit Jha

Mohit is a writer, researcher, and editor. Cyber ​​security and digital forensics are the two subjects that keep Mohit out of his seat. In addition, he hopes that the well-researched and thought-out articles he finds will help people learn.