Outlook Online Archive for Office 365 Explained

When mailboxes grow too large you won’t be able to receive or send mail anymore. Another common issue with large mailboxes is that Outlook will take longer to load. To solve this we can use Online Archives in Outlook.

Online Archive mailboxes are available for Office365 users with the correct license. The advantage of online archives (also known as In-Place archives), is that older emails are automatically archived in a separate archive mailbox.

In this article, we are going to take a look at how to enable archive mailboxes, what the requirements are, and how to use them.

What is Outlook Online Archive

Before we are going to take a look at the requirements and how to use the Online Archive, let’s first take a look at what Outlook Online Archive is exactly. And how it’s different from the normal archive.

Note

The Outlook Online Archive is named differently throughout the documentation. It’s also refered as In-Place Archive or Exchange Online Archive.

As the name implies, it’s an online archive mailbox. This gives the Exchange Online Archive a couple of important characteristics:

  • It’s only accessible with an internet connection
  • Data isn’t stored on the user’s computer – saving disk space
  • It’s a separate mailbox

By archiving email to the In-place archive you can thus free up disk space on the user’s computer. This will also help with reducing the loading time of Outlook. And it also helps with cleaning up the mailbox, because by default Outlook only searches in the primary mailbox.

Online Archive vs Archive folder

Every Outlook mailbox comes with an Archive folder. Users can move emails to their archive folder to clean up their inbox or use the Archive button for this. The difference between this folder and the Online Archive is that the Archive folder is part of the primary mailbox of the user.

outlook online archive
Outlook Archive Folder

This means that it doesn’t reduce the mailbox size and that email items in the archive are still displayed in the search result.

local PST FileArchive FolderOnline Archive
LocationLocal ComputerPrimary MailboxExchange Online
Max Size50GBPart of mailbox50GB/1.5 TB
Displayed in the search resultNoYesNo
Accessible fromLocal computerAnywhereInternet required

You can also archive your mail to local PST files. The problem with PST files is that you will need to be sure that they are backed up. Otherwise, you risk losing data when the user’s device is lost or the hard drive crashes.

Another problem with PST files is that they can only be accessed from the computer where the PST file is located. The online archive, for example, can also be accessed from Outlook Online or the Outlook App.

Exchange Online Archiving License

The Exchange Online Archive is available with most Office 365 plans. Depending on your license you will have access to either 50GB or 1.5TB of archiving space.

The following plans have access to 50GB of archive space:

  • Microsoft 365 Business Basic
  • Microsoft 365 Business Standard
  • Office 365 E1

And the plans below have an Online Archive of 1.5TB:

  • Microsoft 365 Business Premium
  • Office 365 E3
  • Office 365 E5
  • Microsoft 365 E3
  • Microsoft 365 E5

Shared and Resource mailboxes also have an Exchange Online Archive mailbox, but these are limited to 50GB. If you need a larger archive for a shared mailbox you will need to assign an E3 or E5 license to the mailbox.

Online Archive Size Limit

Good to know is that the 1.5TB archive limit isn’t the initial archive size. The online archive is initially limited to 100 GB. When the only archive is almost full (at 90%) you can increase it with auto-expanding archiving.

This will add another 100 GB of storage limit until the archive reaches the limit of 1.5 TB. Keep in mind that it can take up to 30 days before the additional storage space is added.

Note

Online Archive mailboxes can’t be used anymore for journaling or bulk archiving methods (like the use of transport rules). Microsoft has applied a growth limit of 1 GB per day for archiving mailboxes. The archive mailbox can only be used by the individual user or shared-mailbox it belongs to.

Enable Archive Mailbox in Office 365

The Exchange Online Archive is enabled by default for your users. When you want to use the online archive you will have to enable it either per user or for your entire organization. To enable it we can either use the Microsoft Exchange Admin Center or PowerShell.

The only downside from the Exchange Admin Center is that you will need to enable it per user:

  1. Open the Exchange Admin Center
  2. Expand Recipients and select Mailboxes
  3. Click on the user
  4. Click on Others
  5. Open Manage mailbox Archive
  6. Enable the Mailbox Archive
Enable online archive through Exchange Admin Center
Exchange Admin Center

Using PowerShell to enable Online Archive

These methods are great if you only need to enable the archive mailbox for a couple of Office 365 users. When you want to enable the archive mailbox for all or multiple users in your organization you can better use PowerShell.

Note

Make sure that you have installed the Exchange Online Module before you continue.

The online archive mailbox needs to be enabled per mailbox. The advantage of PowerShell is that we can easily select all users or a group of users. First, open PowerShell and connect to Exchange Online:

# Connect to Exchange Online
Connect-ExchangeOnline -UserPrincipalName [email protected]

To enable the archive mailbox for a single user we can use the following PowerShell command:

Enable-Mailbox -Identity [email protected] -Archive
enable archive mailbox powershell

After you have enabled the Online Archive it will become visible in Outlook below the primary mailbox. Sometimes the user needs to restart Outlook before they are able to access the online archive.

in place archive office 365

To enable the archive mailbox for all users we can first get all mailboxes that don’t have an archive GUID set, which indicates that an archive mailbox isn’t active. And filter the selection on only user mailboxes.

# You can first verify the list of mailboxes with:
Get-Mailbox -Filter {ArchiveStatus -Eq "None" -AND RecipientTypeDetails -eq "UserMailbox"} | ft

# Enable archive mailbox for all users:
Get-Mailbox -Filter {ArchiveStatus -Eq "None" -AND RecipientTypeDetails -eq "UserMailbox"} | Enable-Mailbox -Archive

Enable Auto-Expanding Archive

When your online archive is running out of storage you can enable auto-expanding archive if your license supports it. Auto-Expanding Archive can be enabled for the whole tenant or for a specific user. There are however some restrictions that you will need to keep in mind before enabling it:

  • You can’t turn it off after you enabled it
  • Recovering or restoring an inactive mailbox isn’t possible when auto-expand archive is enabled for that mailbox. You will need to use content search to recover it (or a third-party backup solution)
  • It can take up to 30 days until additional storage is provided

Make sure that you are connected to Exchange Online in PowerShell and run the following command to enable auto-expanding archive for every user in your tenant:

# Connect to Exchange Online
Connect-ExchangeOnline -UserPrincipalName [email protected]

# Enable auto-expanding archive
Set-OrganizationConfig -AutoExpandingArchive

You can verify the setting with the following command:

Get-OrganizationConfig | select AutoExpandingArchiveEnabled

When auto-expanding is enabled for your organization it will automatically enable it for new and existing mailboxes in your tenant.

Keeping the restrictions in mind and the inability to restore inactive mailboxes, it’s sometimes better to enable the expanding archive only for specific users. Again connect to Exchange Online and enable the expanding online archive for a mailbox with:

# Enable it for a single mailbox
Enable-Mailbox [email protected] -AutoExpandingArchive

Using the Exchange Online Archive

Archiving of mailbox items is done based on policies. The default policy, which is applied to all mailbox folders, is to move the item (email) after 2 years to the online archive.

Good to know is that the folder structure of your inbox is automatically re-created in the Online Archive. So if you have for example a subfolder Invoices in your Inbox, then you will get the same subfolder in the Online Archive:

Using online archive office 365

Manually move items to Online Archive

It’s also possible to manually move items to the Online Archive. This is useful when you want to clean up your mailbox or are running out of storage space.

  1. Select the items that you want to move to the Online Archive
  2. Right-click on the selected items
  3. Choose Move and select the Inbox – Online Archive folder
Manually move to online archive

Don’t use the Archive button in the toolbar, because that will move the selected items to the archive folder in the primary inbox.

Exchange Online Archiving Policies

Exchange Online Archiving is based on policies. The default policy that is applied to all mailbox folders is “move to archive after 2 years”. This means that emails will automatically be moved to the Outlook Online Archive 2 years after you received or send them.

There are 4 possible archiving policies that you can currently apply to your mailbox folders:

  • Use Parent Folder Policy (2 years)
  • 1 Year
  • 5 Year
  • Never

It’s possible to change the policy on your inbox or on a subfolder. You could for example archive all inbox items after the default 2 years, but the invoice after 1 year.

  1. Right-click on the folder and select Properties
  2. Open the Policy tab
  3. Change the Online Archive Policy to 1 year
Change archiving policy
Change Archiving policy on a folder

Add or Change Exchange Archiving Policies

In the old Exchange Admin Center, you could easily add or change Retention Tags that are used for the online archiving policies. Only with the latest change to the Microsoft Purview Center, this option isn’t available anymore.

So to change the default policy or add a new policy you will need to use PowerShell. To view the existing retention policies we can use the following cmdlet:

# First connect to exchange online
Connect-ExchangeOnline -UserPrincipalName [email protected]

# Get all archiving policies
Get-RetentionPolicyTag | where {$_.RetentionAction -eq 'MoveToArchive'}

# Result
Name                                      Type             Description
----                                      ----             -----------
Recoverable Items 14 days move to archive RecoverableItems Managed Content Settings
Default 2 year move to archive            All              Managed Content Settings
Personal 1 year move to archive           Personal         Managed Content Settings
Personal never move to archive            Personal         Managed Content Settings
Personal 5 year move to archive           Personal         Managed Content Settings

When the default policies are not sufficient, then it’s possible to add a new policy using PowerShell. There are a couple of parameters important:

  • RetentionEnabled – Enable or disables a policy rule in Outlook
  • AgeLimitForRetention – Apply policy after x days
  • RetentionAction – set to MoveToArchive for Online archiving
  • Type – Personal or use All when you are creating a new default policy

To archive the email items after 6 months we can create the following policy for example:

New-RetentionPolicyTag "Personal 6 months move to archive" -Type Personal -RetentionEnabled $true -AgeLimitForRetention 180 -RetentionAction MoveToArchive

We can also set or change the default policy. Let’s say you want to move all items to the archive after 1 year by default.

# Create a new default policy
New-RetentionPolicyTag "Company Default 1 year move to archive" -Type All -RetentionEnabled $true -AgeLimitForRetention 365 -RetentionAction MoveToArchive

Using the New Policy

The new policy won’t be listed in Outlook by default. The user will first have to add the new policy to their mailbox account.

  1. Right-Click on a mailbox and choose Properties
  2. Open the Policy tab
  3. Click on Add or Remove Retention Policies
in place archive policy office 365

Outlook Online will open in the Settings screen.

  1. Click on Add new policy
  2. Select the newly created policy and click save
Enable Exchange Online ARchiving

You can now use the newly created policy in Outlook and Outlook Online. Go back to the folder properties in Outlook (close the properties and re-open them). The policy to move the items after 6 months is now available under Online Archive

Searching in Online Archive

When you search for an item in Outlook it will by default search in the current mailbox. To search in the online Archive as well you will need to select All Mailboxes next to the search field.

Searching through archived mail

When you only want to search through the online archive, you will first need to select the Online Archive in the folder list, and then start the search.

Wrapping Up

Using the outlook online archive is a great way to reduce the mailbox space and keep your inbox clean. Make sure that you inform your users about the policies and when emails are moved to the archive folder.

The default Exchange Online Archiving policies are for most situations more than fine, they give a nice balance in quickly finding emails when users are searching and keeping the primary mailbox at a decent size.

I hope you found this article useful, if you have any questions just drop a comment below.

Get more stuff like this

IT, Office365, Smart Home, PowerShell and Blogging Tips

I hate spam to, so you can unsubscribe at any time.

60 thoughts on “Outlook Online Archive for Office 365 Explained”

  1. Hi Rudy!

    I have a problem, auto-archiving has stopped working. It last worked on Feb. 28. We have a folder which has a policy that moves the mails on the online archive after 14 Days. It doesn’t work anymore. The said email account had a license of Exchange Online (Plan 2) and has 96GB of used storage and had 103GB of used storage in Archive. Please help 🙁

    • The default limit of an archive is 100gb. You will need to enable AutoExpandingArchive to allow larger archive mailboxes. Check the setting with:


      Connect-ExchangeOnline
      Get-OrganizationConfig | Select AutoExpandingArchiveEnabled

      And enable it for the whole tenant with
      Set-OrganizationConfig -AutoExpandingArchive

      Or for a specific user:
      Enable-Mailbox -AutoExpandingArchive

      • Good Day Rudy!
        Thanks for the reply.
        I forgot to add that auto expanding archive is enabled already. Archive storage is now 103GB and mail has 96GB

        • The archive will expand after reaching 90% of the storage limit, but it can take 30 days. Did you recently add a large bulk to it? Otherwise, I would recommend contacting Microsoft in this case, they can look into why the archive is not expanding or why the mailbox is not archiving.

  2. Curious… I can see my In-Place Archive when I use Desktop Outlook. Issue is, I don’t use Desktop Outlook anymore. I use Outlook on the Web.

    The In-Place Archive used to be in the left hand navigation list with all my folders… it is no longer there. Is this something I can turn on? When I search in Outlook on the Web, it only returns the last 2 years of email results (retention is after 2 years, send to In-Place Archive).

    How do I view In-Place Archive in Outlook on the Web?

    • I seem to have the same issue in one of the tenants that I manage. It should indeed be on the left side in the folder menu, can confirm it on my development tenant. I can’t find anything online about the issue. Will look into it.

    • Delete emails from the online archive? I think that is only feasible with content search in PowerShell using the New-ComplianceSearch and New-ComplianceSearchAction cmdlets

  3. Dear Ruud, the article is amazing and gives a lot of useful information for Outlook app. In connection with the Online Archive, I have an issue with a shared email. We set the Archiving policy to 1 year and all emails older than 1 year are now in it. But we can’t see the “Online Archive” on the desktop app, it is only visible in Internet browser as “In-Place Archive”. Please give me an advice how to set it up so the shared mail Archive will be visible in the desktop Outlook app. We had a Office 365 E3 license.
    Best regards

  4. Hi, Thanks for the useful article.
    When I activate the archive for a Shared mailbox, how long does it take that it appears in the users’ Outlook? They can’t see it after 24 hours.

  5. In my experience, user with Office 2016 Home and Business were not able to see their “Online Archive” through Outlook Desktop – once Office 2016 Pro Plus was installed, they regained the ability to see this in Outlook Desktop.

  6. Hi Ruud. Thanks for the guide. My only criticism is;
    – Within Data lifecycle management I don’t see the “Archive” tab as in your screenshots. Perhaps this has been updated? I can enable mailbox archive within EAC no problem however.
    – There are no instructions in this guide on how and where to change the default policy.
    Thankyou for your informative post.

  7. If I set up this, do I manually need to move older emails to Archive? I guess the default policy will start count when I enabled it?

  8. Hello Rudd

    I am looking for your guidance here

    Example as Below :

    I have a Shared Mailbox which needs to be transferred to one user.

    Rather than granting Delegation Access, I would like to copy or move all the data of Shared Mailbox to that user online Archive.

    and then i could be able to delete the Shared Mailbox.

    Can you suggest a way as in how can i acheive this ?

    I have tried all kinds of powershell method but not successful.

    it would be a great help

    Thanks
    Ayoun

  9. Hi, it seems like that the displayname of the archive mailbox, as it is shown in the navigation pane is different between OWA and Outlook.
    Using Exchange Online:
    In OWA its “In-Place Archive ”
    In Outlook it shows as “Online Archive

    Question is, will those things be automatically updated if they are changed for the user.
    E.g. the user is changing their name (maybe because the are married now) so the user’s displayname is changing, does it also change that for Archive Name as shown in OWA?

  10. Nice article. Summarizes well what took me hours to find and setup via google.

    However, what I do not find, nor do I see now that I have In-Place/On-line archiving active is that my “active” mail-box is shrinking due to mails moved to the on-line archive. It has been active nearly a week, an I see the moved, read archived, items in the “Online Archive” area. So I have expected the active archive to be much smaller. The O365 Admin interface shows it still nearly at the “all-stop” size.

    And what I (may have) miss(ed) is how to see the size of the on-line archive.

  11. Hi
    I apply the online archive policy in one user with retention policy. But I can’t find the inline archive link in my outlook and also OWA. What’s the point? I have the office e3 licence.

  12. What I am having trouble finding now is how to automatically enable Archive Mailbox for all new users that are created so that it is there by default… there seems to be no information on this, anywhere, and no articles that I’ve found seem to talk about it at all… am I missing something obvious?

    • …and actually, I am now thinking that maybe this is difficult to find for a reason, and that enabling archive mailboxes only makes sense for users who have been around for at least a year or two, so it should be a somewhat manual process??

  13. Hi Ruud,
    I understand that soft deleted mail (so mail deleted from Deleted items) is kept in the Recoverable items folder for 14 days and will than be permanantly deleted but in case of deploying an Online Archive it is moved to the Recoverable items folder of the online archive for another 14 days before purging?
    Furthermore, what I am missing is the retention policy on the content of an Online Archive. I assume that everything in the online archive will stay there forever (except for the Recoverable items from the previous sentence)?
    Mark

  14. Hello!

    My user has her Online Archive enabled, but we cannot find old calendar items. Where did they go?

    Many thanks!!
    Matthew

  15. not sure about the licensing you mentioned from what I have read Basic and Standard do not include Exchange Archiving they need the Exchange Archiving Plan1 assigned to the, Premium includes the archiving. Also then you cannot do Litigation holds without Plan 2.

  16. We are consulting for a company who uses M365 enterprise with online archive. But we’ve also setup our consulting email address on the same outlook. Is there a way to bypass the online archive for our consulting email and send it to a .pst archive instead, while still leaving the client company’s email address on the online archive settings? Our consulting email is setup as IMAP, if that helps

  17. Thanks for the article! We just enabled this for 2 users as a test, And thought the email was removed from the Inbox according to the selected policy (1 Yr, move to online archive) nothing is in the archive folder!! Its been 24 hours now. I kinda need that email. 🙁 Thanks for any advice.

  18. Great article, thank you.
    Do you know of a way to download, per user, a complete online archive into a PST file? Or a large set of emails according to a search criteria?
    Thanks,
    Stephan

  19. Nice article. Very helpful. Thank you! Can we also archive the Sent folder into the online archive? or, Does online archive only work for the Inbox and sub folder? How do i archive the Sent folder?

  20. Great article! Helped out an M365 online archiving newbie! And your comment on July 11th with the command to manually force the archive process for a user helped resolve an issue I was experiencing with the Policy tab not showing on folder properties in a shared mailbox! Thanks for posting this!

  21. so what do you do when the user leaves the org and you want to convert the online archive to a shared mailbox?

  22. Hello.
    First, a great article!
    I have configured this for a user (I found your article after I had done it…), and now after almost 24 hours, nothing has been moved.
    I chosed a folder in the users mailbox that had a “limited” number of mails, but from 2014 and up till today. I selected 5 years as archive policy.
    Should I be pacient for still a while, or are there reasons to belive it will never start archiving?
    BR Espen

  23. Nice article. I didn’t realize Microsoft had removed the retention settings from their GUI.

    If you’re ever looking for a follow-up article to do, I’d suggest one on how to “clean up” a user’s (especially an “Executive” user…) In-Place Archive once it gets over 90% full and the user starts getting emails about it from EO. I think MS wants us to use retention tags and/or compliance search for that (or that seemed to be the case a year or two ago), but I admit, I never could get it to work reliably. I’ve been sticking to the old Search-Mailbox command with the -DeleteContent switch and a date range far enough back that it should only affect stuff in the In-Place Archive. But, well, you know…Microsoft wants to get rid of Search-Mailbox. A good article that shows The One Way to do this with the “modern” tools would certainly be a help.

  24. Hi Rudy – hope you’re well.
    Likely a silly question – but better than not asking. My team uses a shared login for 1 particular inbox. Let’s say it [email protected]. If we create an Online Archive for that mailbox, can we restrict access to the Online Archive? Meaning, I would like [email protected] credentials to NOT be able to access the Online Archive, but would like [email protected] and [email protected] to access it. Is that possible to configure in Purview?
    Kind regards,
    Jonathan

  25. Shouldn’t the PowerShell command for all users be:

    # Or for all users:
    Get-Mailbox | where {$_.AutoExpandingArchiveEnabled -eq $false } | Enable-Mailbox -AutoExpandingArchive instead of $true

    Great article!

  26. Hi,
    I have a question regarding online archive.
    So, default policy is that every item older >2 is being automatically archived/put into this folder.
    1.) this default policy, can it be turned off or can we just over-ride it with custom policies?
    2.) auto-expand, is it something we need to configure first or? how does it work exactly?
    Kr,
    Dino

Leave a Comment

0 Shares
Tweet
Pin
Share
Share