Online Archive Settings

Modified on Fri, 20 Jun at 9:42 AM

Get-Mailbox | select userprincipalname, AutoExpandingArchiveEnabled

First, connect to Exchange Online PowerShell:

Connect-ExchangeOnline

Enable archive mailbox creation for all users when their primary mailbox reaches 90%:

Set-OrganizationConfig -AutoEnableArchiveMailbox $true

Enable archive mailbox for a single user:

Enable-Mailbox -Identity user@domain.com -Archive

Enable auto-expanding archive for the organization (new mailboxes and existing mailboxes):

Set-OrganizationConfig -AutoExpandingArchive

Enable auto-expanding archive for a single user:

Enable-Mailbox <user mailbox> -AutoExpandingArchive

Check to see whether users have auto-expanding archive enabled:

Get-Mailbox | select UserPrincipalName, AutoExpandingArchiveEnabled

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article