Share via

Online archive

Ian Roy 40 Reputation points
2026-04-12T06:56:34.39+00:00

How can I enable auto expand online archive for mailboxes? Any prerequisites to do this.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

0 comments No comments

Answer accepted by question author

Teddie-D 16,130 Reputation points Microsoft External Staff Moderator
2026-04-12T07:58:59.9466667+00:00

Hi @Ian Roy 

According to Learn about auto-expanding archiving | Microsoft Learn, auto‑expanding archiving in Exchange Online automatically increases archive mailbox storage when the archive reaches its capacity, supporting long‑term retention requirements.

Prerequisites 

Before enabling auto-expanding archiving, verify the following: 

1.Each user must have a license that includes Exchange Online Archiving. Supported options: 

-Exchange Online Plan 2 

-Microsoft 365 E3 or E5 

-Exchange Online Archiving add-on (for Exchange Online Plan 1) 

2.The user must already have an Online Archive. If not, create one first. 

3.You must have one of the following roles: 

-Global Administrator 

-Exchange Administrator 

-Recipient Management 

4.You need to connect via Exchange Online PowerShell. 

Note: Once enabled, auto-expanding archiving cannot be disabled.  

Here are steps to enable auto-expanding archiving using Exchange Online PowerShell: 

Install-Module ExchangeOnlineManagement 
Connect-ExchangeOnline 
# Enable an Archive Mailbox if not already enabled 
Enable-Mailbox -Identity ******@domain.com -Archive  
# Enable auto-expanding archiving for a specific user 
Enable-Mailbox -Identity ******@domain.com -AutoExpandingArchive  
# Verify settings 
Get-Mailbox ******@domain.com |   
Format-List DisplayName,ArchiveStatus,AutoExpandingArchiveEnabled  

# Enable organization‑wide:
Set-OrganizationConfig -AutoExpandingArchive
# Verify configuration 
Get-OrganizationConfig | Format-List AutoExpandingArchiveEnabled

# Enable auto-expanding archiving for all mailboxes with active archives 
Get-Mailbox -ResultSize Unlimited -Filter {ArchiveStatus -eq "Active"} |  
ForEach-Object {  
    Enable-Mailbox -Identity $_.UserPrincipalName -AutoExpandingArchive  
} 

Reference: Enable auto-expanding archiving | Microsoft Learn 

I hope this information is helpful. 


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".          

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.   

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.