Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Enable Online Archiving for Microsoft 365 Exchange Online

July 10, 2024
in A, Blog, Microsoft 365
0
ADVERTISEMENT

Table of Contents

Method 1: Enable Online Archive using Exchange admin center

Archiving in Exchange Online also known as In-Place Archiving, provides users with additional mailbox storage space. Archived mailboxes provide an alternate storage location in which we can store historical messaging data.

1. First visit this link https://admin.exchange.microsoft.com then sign in using Global Admin or Exchange Admin account.

2. Navigate to Recipients | Mailboxes.

Bg466

3. Select the mailbox you want to enable online archiving. In the right panel, the select Other option.

Bg467

4. Under Mailbox archive, select Manage mailbox archive link.

Bg468

5. Turn on online archiving for the mailbox then save the change.

Bg469

In the next time when you access the Manage mailbox archive link, you’ll see the archiving size.

Bg470

Users with online archiving enabled would see Online Archive in their Outlook or Outlook Web App.

Bg484

Method 2: Enable archive mailboxes in the Microsoft Purview compliance portal

1. Go to Microsoft Purview compliance portal and sign in.

2. In the left pane of the compliance portal, select Data lifecycle management > Archive.

Bg1077

3. In the list of mailboxes, select the user to enable their mailbox for archive, and then select the Enable archive option:

Bg1078

4. Select Enable to confirm.

Note Note: It might take a few moments to create the archive mailbox. When it's created, Enabled is displayed in the Archive mailbox column for the selected user, although you might need to refresh the page to see the change of status.
Bg1079

Method 3: Enable Online Archive using PowerShell

1. Connect to Exchange Online PowerShell.

Or you can open Windows PowerShell admin then run below commands to connect to Exchange Online powershell.

Pw3
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine -Force;
Install-PackageProvider -Name NuGet -Force;
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted;
Install-Module -Name ExchangeOnlineManagement;
Import-Module ExchangeOnlineManagement;
Connect-ExchangeOnline;

Enable archive mailboxes

Run the following command to enable the archive mailbox for a single user.

Enable-Mailbox -Identity [email protected] -Archive

Run the following command to enable the archive mailbox for all users in your organization (whose archive mailbox is currently not enabled).

Get-Mailbox -Filter {ArchiveGuid -Eq "00000000-0000-0000-0000-000000000000" -AND RecipientTypeDetails -Eq "UserMailbox"} | Enable-Mailbox -Archive

Disable archive mailboxes

After you disable an archive mailbox, you can reconnect it to the user’s primary mailbox within 30 days of disabling it. In this case, the original contents of the archive mailbox are restored. After 30 days, the contents of the original archive mailbox are permanently deleted and can’t be recovered. So if you re-enable the archive more than 30 days after disabling it, a new archive mailbox is created.

Note Note: The default archive policy assigned to users' mailboxes moves items to the archive mailbox two years after the date the item is delivered. If you disable a user's archive mailbox, no action will be taken on mailbox items and they'll remain in the user's primary mailbox.
Disable-Mailbox -Identity <username> -Archive

Run the following command to disable the archive mailbox for all users in your organization (whose archive mailbox is currently enabled).

Get-Mailbox -Filter {ArchiveGuid -Ne "00000000-0000-0000-0000-000000000000" -AND RecipientTypeDetails -Eq "UserMailbox"} | Disable-Mailbox -Archive

Run diagnostics on archive mailboxes

You can run an automated diagnostic check on a user’s archive mailbox to identify any problems and suggested resolutions. To run the diagnostic check, click the link below.

Run Tests: Archive Mailbox: https://aka.ms/PillarArchiveMailbox

Bg1320

Or you can check archiving status of a mailbox using PowerShell.

PS C:\> Get-EXOMailbox -Identity [email protected] -PropertySets Archive

ExternalDirectoryObjectId   : 389b11ee-b7ec-426d-b37d-87d8650c354b
UserPrincipalName           : [email protected]
ArchiveDatabase             : APCPR03DG072-db137
ArchiveGuid                 : 049e5992-d35e-41c6-b030-56ee03c08ad4
ArchiveName                 : {In-Place Archive -Anna}
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              :
PrimarySmtpAddress          : [email protected]
Identity                    : anna
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How To Create a Red Hat Enterprise Linux VM in Microsoft Azure

Next Post

How to Enable or Disable MFA for a Single User in Microsoft 365 and AzureAD

Related Posts

Images Hidden Due To Mature Content Settings In CivitAI

August 31, 2024

Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

August 20, 2024

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024

How to Remove The Test Mode Watermark Without Disabling Test Mode

July 28, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory