🎉 Our Office 365 Reporting Tool is now available in Azure Marketplace 🚀
This website uses cookies to improve your experience. We'll assume you're ok with this. Know more.
Exchange Online

How to List all Archived Mailboxes in Exchange Online

Are you struggling to monitor archived mailboxes in Exchange Online? Having a comprehensive list of archived mailboxes and their details is essential for effective monitoring, as it helps track storage usage and prevent potential data retention issues. In this guide we'll show you how to export a list of Exchange Online archived mailboxes to streamline your storage management.

Using Exchange Admin Center

Microsoft 365 Permission Required
View-only Recipient Role Least Privilege
Global Admin Most Privilege
  • Navigate to the Mailboxes page in Exchange admin center.
  • Click the Filter option on the toolbar, then select Archived to display the list of archived mailboxes in Exchange Online.
  • Next, select Export mailboxes and choose Export mailboxes in current list to download the list of archived mailboxes in Microsoft 365.
Using Exchange Admin Center

Using Windows PowerShell

Microsoft 365 Permission Required
View-only Recipient Role Least Privilege
Global Admin Most Privilege
  • Connect to the Exchange Online PowerShell using the below cmdlet.
  • Windows PowerShell Windows PowerShell
     Connect-ExchangeOnline
  • Run the following cmdlet to retrieve the list of all archived mailboxes in your Microsoft 365.
  • Windows PowerShell Windows PowerShell
     Get-Mailbox -ResultSize Unlimited | Where-Object {$_.ArchiveStatus -eq "Active"} | Select DisplayName, UserPrincipalName, RecipientTypeDetails, ArchiveStatus
Using Windows PowerShell

Using PowerShell Script

Microsoft 365 Permission Required
View-only Recipient Role Least Privilege
Global Admin Most Privilege
  • While the above cmdlet retrieves a list of archived mailboxes in Microsoft 365, it doesn’t provide specific details such as archive mailbox size or quota.
  • To overcome this limitation, we’ve developed a PowerShell script that generates a detailed archive mailbox size report.
  • This report lists all archived mailboxes along with key details such as archive name, current size, quota, warning quota, and more.
Using PowerShell Script
GetArchiveMailboxSize.ps1

Effortlessly track Exchange Online archived mailboxes with advanced reports!

AdminDroid's Exchange Online auditing tool provides detailed insights into archived mailboxes and helps admins efficiently manage mailbox storage. This powerful monitoring capability helps to track storage usage and maintain clutter-free mailbox management across Microsoft 365 environment.

Identify and Disable Inactive Archived Mailboxes

Track inactive archived mailboxes report to spot mailboxes with no recent activity and unarchive them if they are no longer needed.

Track Large Mailbox and Enable Archives for Optimal Storage

Analyze mailbox size over time in Microsoft 365 and enable archives for those using excessive storage to optimize space and improve performance.

Check Archive Policy Usage in Microsoft 365

Verify that archive policies are correctly applied to mailboxes and ensure proper email retention with Microsoft 365 mailbox retention settings report.

Visualize Archived Mailboxes in Exchange Online

Leverage mailbox usage dashboard to identify top storage consumers, track archive growth trends, and pinpoint mailboxes nearing storage limits.

Audit Unauthorized Permission Changes on Archive Folders

Keep track of Exchange mailbox folder permissions to identify unauthorized access and ensure only authorized users have the necessary permissions.

Monitor Archived Mailboxes Exceeding Warning Quota

Use archived mailboxes with over warning quota report to track archive storage usage and enable auto-expanding before mailboxes hit their storage limits.

In conclusion, AdminDroid's Exchange Online management tool provides an effective solution for monitoring archived mailboxes. With its comprehensive reports and real-time insights, you can efficiently track archived mailboxes, optimize mailbox storage, and ensure compliance across the organization.

Explore a full range of reporting options

Important Tips

Enable archive mailboxes for users handling large volumes of emails to prevent storage issues and maintain seamless access to older emails.

Utilize the Exchange Online auto-expanding archive feature to avoid storage issues, particularly for users managing extensive historical data.

Regularly review retention policy in Exchange Online to ensure archiving aligns with your organization's regulations.

Common Errors and Resolution Steps

The following are the possible errors and troubleshooting hints while managing archived mailboxes in Microsoft 365.

Error The term 'Enable-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

This error occurs when the Enable-Mailbox cmdlet is executed without the Exchange Online module installed or when the necessary permissions to execute the cmdlet are missing.

Fix Ensure you have the required permissions and have connected to the Exchange Online module using the following cmdlet.
Connect-ExchangeOnline

Error ./GetArchiveMailboxSize.ps1 cannot be loaded because running scripts is disabled on this system.

This error occurs when you try to run a script in PowerShell and the system's execution policy restricts running unsigned scripts.

Fix To resolve this error, execute the below cmdlet to set the execution policy as Unrestricted before running the script.
Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Error Write-ErrorMessage : Ex735436|Microsoft.Exchange.Management.Tasks.RecipientTaskException|Recipient already has an archive. This task doesn't support multiple archives per recipient.

This error appears when attempting to enable an archive mailbox that is already archive-enabled.

Fix Verify if the mailbox is already archive-enabled before proceeding. Use the following cmdlet to check the archive status of the mailbox.
Get-Mailbox <UPN> | Select ArchiveStatus 
#Replace <UPN> with the UPN of the mailbox you want to check.

Error Please input a valid retention period from 1 to 24855.

This error occurs when configuring a retention tag if the retention period is not specified or exceeds the allowed limit of 1 to 24855 days.

Fix To resolve this issue, enter a valid retention period between 1 and 24855 days to configure the retention tag successfully.
Frequently Asked Questions

Keep your storage under control by reviewing archived mailboxes In Exchange Online

1. How to enable archive mailbox in Exchange Online?

Effective email storage in organizations depends on strategically managing older emails to prevent primary mailbox overload. By enabling archive mailboxes, users can seamlessly store significant historical data without compromising primary mailbox performance.

To enable online archive in Exchange Online, you can follow the methods below.

Enable archive for a mailbox using Exchange admin center

  • Navigate to Recipients»Mailboxes in the Exchange admin center and click the desired mailbox.
  • In the flyout pane, go to the Others tab and choose Manage mailbox archive under Mailbox archive.
  • Then, toggle the Mailbox archive status switch to the enabled state, specify a name for the archive mailbox, and click Save to enable In-Place archive for the mailbox.
enable-archive-mailbox-admin-center

Enable archive mailbox using PowerShell

  • Use the 'Connect-ExchangeOnline' cmdlet to connect with the Exchange Online module and then run the following command to enable online archive for a mailbox.
Enable-Mailbox -Identity <MailboxName> -Archive 
#Replace <MailboxName> with the name of the mailbox you want to enable archive.

Note: With Microsoft 365 Enterprise E3/E5, Microsoft 365 Business Premium, or Exchange Online Plan 2, each user gets 100 GB of initial archive mailbox storage, expandable up to 1.5 TB with auto-expanding archiving.

However, with Microsoft 365 Business Basic, Microsoft 365 Business Standard, Microsoft 365 Enterprise E1, Exchange Online Kiosk, or Exchange Online Plan 1, archive mailbox storage is capped at 50 GB. This limitation can be addressed by purchasing the Exchange Online Archiving add-on license, which enables additional storage and auto-expanding archiving.

2. How to view archive mailbox size in Microsoft 365?

Archive mailbox sizes can grow over time, which might exceed storage quotas and lead to issues with retaining emails. By checking their size regularly, you can proactively manage storage limits. Here, you’ll learn how to view archive mailbox size in Exchange Online to ensure uninterrupted email services.

View archive mailbox size in Exchange admin center

  • In the Exchange admin center, navigate to Mailboxes under Recipients and select a mailbox to view archive size.
  • Under the Others tab, click Manage mailbox archive from the Mailbox archive menu in the flyout pane.
archived-mailbox-size-admin-center

View archive mailbox size using the PowerShell script

While the Exchange admin center provides an option to view archive mailbox sizes, manually checking the size of each archive mailbox can be time-consuming, especially for large organizations.

To overcome this inefficiency, you can use our 'GetArchiveMailboxSize.ps1' PowerShell script mentioned as solution in the Option 3. This script exports a detailed list of all archived mailboxes, including key information such as mailbox type, archive name, current size, quota, warning quota, and more.

Here's how the script provides more flexibility and granular reporting for archive mailboxes in your Exchange Online.

Get archive size for user mailboxes

To export archive enabled user mailboxes, you can run the script with the -UserMBOnly parameter.

.\GetArchiveMailboxSize.ps1 -UserMBOnly

Export all shared archive mailbox sizes

To find shared mailbox archive size, you can execute the script with the -SharedMBOnly parameter.

.\GetArchiveMailboxSize.ps1 -SharedMBOnly

Identify mailboxes with auto-expanding archives

To list archived mailboxes with Exchange Online auto-expanding archive enabled, you can execute the script with the -AutoExpandingArchiveEnabled parameter.

.\GetArchiveMailboxSize.ps1 -AutoExpandingArchiveEnabled

3. How to configure archive policy in Microsoft 365?

By default, the Microsoft 365 Retention Policy includes several retention tags that delete or move items to the archive after a specific period. While these tags offer archiving, the default policy may not suit all scenarios, as you might require a different retention period. Therefore, understanding how to configure the archive policy effectively can help you tailor it to your organization's needs.

Create MRM retention tags in Microsoft Purview

  • Navigate to the MRM Retention tags page in the Microsoft Purview portal.
  • Click on the New tag. Then, specify a name and description for the tag and click Next.
  • Now, select Automatically to entire mailbox (default) option and click Next.
  • Enter the number of days for the retention period under the ‘When item reaches the following age (in days)’ option.
  • Then, select the ‘Move item to archive’ from Retention Action and click Next.
  • Finally, review and click Submit to create a retention tag in the Microsoft Purview portal.
retention-tag-in-purview
retention-settings-in-purview

Configure MRM archive policy in Microsoft 365

  • Navigate to the MRM Retention policies»New policy»Enter the name»Add tag.
  • Choose the retention tag you have created, click Add, and then click Next.
  • Review your settings and click Submit to create the archive policy for Exchange Online mailboxes.
retention-policy-in-purview

After creating the policy, apply the retention policy to the Exchange Online mailboxes to ensure the archive settings take effect.

Note: The archive policy moves all items to the archive regardless of their importance. As a result, important emails may also be archived without your notice.

4. What happens when an archive mailbox is full in Exchange Online?

Imagine a user receiving the alert: "Your archive mailbox is almost full". This warning signals that archive mailboxes are approaching their storage limits. If left unaddressed, it could disrupt archiving processes and create challenges in managing emails effectively. Below are some issues that can arise when an archive mailbox reaches its capacity.

  • Suspension of archiving: Automatically archiving will stop, and the user won’t be able to move items to the archive mailbox.
  • Communication disruptions: When both the primary and archive mailboxes are full, users lose the ability to send or receive emails, which can severely impact communication.

To avoid disruptions and ensure seamless archiving, start by reviewing and deleting irrelevant or outdated content to free up space. Additionally, you can enable auto-expanding archiving to increase archive mailbox storage up to 1.5TB. However, this feature only supports for mailboxes with a growth rate that doesn't exceed 1 GB per day.

Enable auto-expanding archive in Exchange Online

  • Connect to the Exchange Online module using the cmdlet below.
Connect-ExchangeOnline
  • Run the following cmdlet to enable auto-expanding archiving for the specified mailbox.
Enable-Mailbox -Identity "<mailboxName>" -AutoExpandingArchive 
#Replace <mailboxName> with the name of the mailbox
  • To enable auto-expanding archiving for your entire organization, execute the following cmdlet.
Set-OrganizationConfig -AutoExpandingArchive

Note: Auto-expanding archiving can only be enabled through Exchange Online PowerShell. Once enabled, it cannot be disabled.

5. What is the difference between archive folder and archive mailbox in Microsoft 365?

When the Microsoft 365 inbox keeps filling up, you'll face a critical choice for managing older emails: an archive folder or an archive mailbox? Understanding the differences between these two can help you decide the correct solution for organizing and storing your emails.

archive-mailbox-and-folder-table

In conclusion, using online archive mailbox is an effective way to manage email storage, as it provides a dedicated space for storing older emails and offers features like auto-expanding archiving to handle growing data needs.

Kickstart Your Journey With
AdminDroid

Your Microsoft 365 Companion with Enormous Reporting Capabilities

Download Now
User Help Manuals Compliance Docs
x
Delivering Reports on Time
Want a desired Microsoft 365 reports every Monday morning? Ensure automated report distribution and timely delivery with AdminDroid's Scheduling to your email anytime you need.
Delivering Reports on Time
Schedule tailored reports to execute automatically at the time you set and deliver straight to the emails you choose. In addition, you can customize report columns and add inteligent filtering to the activities just from the previous day to suit your Microsoft 365 report requirements.
Set It, Schedule It, See Results- Your Reports, Your Way, On Your Time!
Time Saving
Automation
Customization
Intelligent Filtering
Give Just the Right Access to the Right People
Grant fine-tuned access to any Microsoft 365 user with AdminDroid’s Granular Delegation and meet your organization’s security and compliance requirements.
Give Just the Right Access to the Right People
Create custom roles loaded with just the right permissions and give access to admins or normal users within AdminDroid. The result? A streamlined Microsoft 365 management experience that aligns your organization's security protocols and saves your invaluable time and effort.
Align, Define, Simplify: AdminDroid's Granular Delegation
Smart Organizational Control
Effortless M365 Management
Simplified Access
Advanced Alerts at a Glance
Receive quick notifications for malicious Microsoft 365 activities. Engage with the AdminDroid’s real-time alert policies crafted to streamline your security investigations.
Advanced Alerts at a Glance
Stay informed of critical activities like suspicious emails and high-risk logins, bulk file sharing, etc. Through creating and validating ideal alert policies, AdminDroid provides a comprehensive approach to real-time monitoring and management of potential threats within your organization.
AdminDroid Keeps You Always Vigilant, Never Vulnerable!
Proactive Protection
Real-time Monitoring
Security Intelligence
Threat Detection
Merge the Required Data to One Place
Combine multiple required columns into one comprehensive report and prioritize the information that matters most to you with AdminDroid’s Advanced Column Customization.
Merge the Required Data to One Place
This column merging capability offers a flexible way to add different columns from various reports and collate all the essential data in one place. Want to revisit the customized report? Save it as a 'View’, and your unique report is ready whenever you need it.
Merge with Ease and Save as Views!
Custom Reporting
Unique View
Desired Columns
Easy Data Interpretation
Insightful Charts and Exclusive Dashboards
Get a quick and easy overview of your tenant's activity, identify potential problems, and take action to protect your data with AdminDroid’s Charts and Dashboards.
Insightful Charts and Exclusive Dashboards
With AdminDroid charts and dashboards, visualize your Microsoft 365 tenant in ways you've never thought possible. It's not just about viewing; it's about understanding, controlling, and transforming your Microsoft 365 environment.
Explore Your Microsoft 365 Tenant in a Whole New Way!
Executive overviews
Interactive insights
Decision-making
Data Visualization
Efficient Report Exporting for Microsoft 365
Downloading your reports in the right file format shouldn’t be a hassle with AdminDroid’s Report Export. Experience seamless report exporting in various formats that cater to your needs.
Efficient Report Exporting for Microsoft 365
Navigate through diverse options and export Microsoft 365 reports flawlessly in your desired file format. Tailor your reports precisely as you need them and save them directly to your computer.
Take Control, Customize and Deliver- Your Office 365 Data, Exported in Your Way!
Easy Export
Seamless Downloading
Data Control
Manage Microsoft 365

Get AdminDroid Office 365 Reporter Now!