🎉 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.

How to Get a List of All Shared Mailboxes in Exchange Online

Do you find it difficult to handle multiple shared mailboxes in Exchange Online? Improper management of shared mailboxes is a frequent issue, resulting in the accumulation of emails, neglecting assigned tasks, and ultimately hindering communication. Fortunately, you can use this guide to manage shared mailboxes in Exchange Online and ensure the security of your confidential information.

Native Solution

Microsoft 365 Permission Required

High

Global admin or Exchange Online admin.

Option 1 Using Microsoft 365 Admin Center

  • Navigate to the Microsoft 365 admin center.
  • Click the Shared mailboxes option under the Teams & groups section on the left pane.
  • This will list all the shared mailboxes in your Microsoft 365 environment.
Using Microsoft 365 Admin Center
  • Unfortunately, Microsoft 365 admin center lacks the ability to export the list of shared mailboxes.

Option 2 Using Exchange Online Admin Center

  • Navigate to the Exchange Online admin center.
  • In the Mailboxes section residing under the Recipients category, you’ll be able to see all the mailboxes available in your organization.
  • However, Exchange admin center doesn’t give us a separate page for shared mailboxes.
  • Instead, you must set filters to list only the shared mailboxes in your organization.
Using Exchange Online Admin Center

Option 3 Using Windows PowerShell

  • Run the below cmdlet to get a list of all shared mailboxes through PowerShell.
  • Windows PowerShell Windows PowerShell
     Connect-ExchangeOnline
    
    Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails SharedMailbox 
Using Windows PowerShell

Option 4 Using PowerShell Script

  • Since PowerShell cmdlets return only limited information regarding the shared mailboxes, we have created a PowerShell script to export the list of all shared mailboxes with much information.
Using PowerShell Script
AdminDroid Solution
More than 150 reports are under the free edition.

AdminDroid Permission Required

Any user with report access assigned by Super Admin.

StepsUsing AdminDroid Office 365 Reporter

ad
  • Open AdminDroid Office 365 Reporter.
  • Navigate to the All Shared Mailboxes report residing under Reports»Exchange»Shared Mailbox Info.
Using AdminDroid Office 365 Reporter

AdminDroid allows you to export a list of all shared mailboxes in Exchange Online with detailed information, such as shared mailbox size, mailbox items count, external forwarding address, etc.

ad-piechart
  • Additionally, get an insight on top shared mailboxes by mailbox size using different views of graphical charts.

Planning to keep an eye on your Exchange Online Shared Mailboxes?

Manage shared mailboxes effectively with AdminDroid and enhance collaboration to avoid communication chaos!

Witness the report in action using the

Important Tips

Maintaining security and privacy, especially under HIPAA regulations, requires robust audit trails, strict access controls, and data protection.

Ensure strong access controls and monitor shared mailbox daily activity to prevent potential security breaches.

Report suspicious messages found in Microsoft 365 shared and delegated mailboxes to maintain security and integrity.

Exchange OnlineEnhance Your Organization Collaboration with Microsoft 365 Shared Mailboxes

Showing 1 of 4

How to create a Microsoft 365 shared mailbox and add members?

Setting up a Microsoft 365 shared mailbox and managing its members is a straightforward process that enhances collaboration within organizations. Create a Microsoft 365 shared mailbox and add members by following these steps,

Create a Shared Mailbox

  • Login to the Exchange admin center.
  • Navigate to Mailboxes resided under Recipients.
  • Choose "Add a Shared mailbox" and provide basic details like display name and email address.
  • Click Create to create a shared mailbox in Exchange Online.

Add Members and Delegate Access to a Shared Mailbox

  • You can add members by using the Add users to this mailbox option.
  • Alternatively, you can also click on the specific shared mailbox from the list of all mailboxes to add users.
  • Now, add users by configuring the delegation like ‘Send as’ or ‘Read and manage (full access)’. These delegations allow users to access a shared mailbox with delegated permissions.

Note: Applied delegation may take a while to take effect.

Simplify shared mailbox management and monitoring in Exchange Online!

Where Microsoft 365 falls short, AdminDroid steps up! Seamlessly monitor and manage shared mailboxes with our enhanced reporting capabilities.

  • Navigate to the Recently Created Shared Mailboxes report residing under Reports»Exchange»Shared Mailbox Info.
  • This report contains the list of recently created shared mailboxes with the mailbox creation time along with the shared mailbox size quota.
recently-created-shared-mailboxes

PRO TIP: To explore any report in AdminDroid, hit 'Ctrl + Shift + F' and type fewer related keywords about the required report.

How to convert a user’s mailbox to a shared mailbox?

Converting a user mailbox to a shared mailbox in Microsoft 365 facilitates collaboration, access sharing, cost optimization, resource management, and data retention for departed employees.

  • Navigate to Recipients»Mailboxes in the Exchange admin center.
  • Select the user mailbox you want to convert. Click on the user's mailbox name to open its details.
  • In the Others tab, click 'Convert to shared mailbox'. A confirmation pop-up will appear. Click Convert to proceed.
  • After conversion, click on the shared mailbox and adjust member permissions through the Delegation tab.

To convert a shared mailbox to a user mailbox, you can use the Convert to regular mailbox option residing in the Others tab.

Convert a user mailbox to a shared mailbox using PowerShell

  • Connect to the Exchange Online module with your administrative account.
    Connect-ExchangeOnline
  • Convert the user mailbox to a shared mailbox by running the below cmdlet.
    Set-Mailbox -Identity <UserPrincipalName> -Type Shared 
    #Replace <UserPrincipalName> with the UPN of the User.
  • To verify whether the shared mailbox conversion occured, run the below cmdlet and check whether the Recipient type details have changed or not.
    Get-Mailbox -Identity <UserPrincipalName> | Select RecipientTypeDetails
    #Replace <UserPrincipalName> with the UPN of the User.

Gain clarity on shared mailbox members to enhance security!

Discovering who has access to your shared mailboxes is crucial for maintaining security and managing permissions effectively.

  • To monitor shared mailbox members, navigate to the Shared Mailbox Members report present under the Shared Mailbox Info section.
  • This report shows all the Microsoft 365 users who have full access to the shared mailboxes.
sharedmailbox-members

With this level of insight, you can confidently manage your shared mailboxes and protect your organization's sensitive information.

What are the limitations of a shared mailbox?

Shared mailboxes allow multiple users to access and manage email communication together, providing a collaborative hub for teams. While shared mailboxes offer collaboration benefits, they also come up with certain limitations.

  • Confusion and Redundancy: With multiple users accessing the same mailbox, there's a higher risk of confusion about ownership of messages, duplicated efforts, and conflicting information.
  • Size Limitations: Shared mailboxes may have size limitations for storage, both in terms of the overall mailbox size and the size of individual messages or attachments being sent.
  • Lack of Audit Trail: Without clear user tracking and identification, creating a reliable record of activity (audit trail) becomes difficult. This lack of a complete history makes it hard to trace and investigate security breaches or policy violations effectively.

It's important to weigh the benefits and limitations of a shared mailbox against your specific needs and team workflow.

Unlock a comprehensive monitoring of shared mailbox permissions!

The most important security risk involved with shared mailboxes is the permissions assigned to the shared mailboxes.

It is crucial to monitor and manage shared mailbox permissions as it grants delegate access to the shared mailbox. Managing the permissions not only enhances operational efficiency but also ensures secure and well-regulated access to shared mailbox resources.

  • Navigate to the Shared Mailbox Info section which contains both the Shared Mailbox Permission Detail report and the Shared Mailbox Permission Summary report.
  • These reports provides a detailed list of users' access to shared mailboxes that helps you to manage permissions effectively.
mailbox-permission

How to remove a license from a shared mailbox?

Shared mailboxes are a great way to enable group collaboration in Microsoft 365. However, it's important to note that only user mailboxes converted to shared mailboxes will have a license assigned to them. You can remove the license from a converted shared mailbox if you no longer need it.

Here's how to do it as a Microsoft 365 administrator:

  • Login to the Microsoft 365 admin center.
  • Navigate to Users»Active users and locate the shared mailbox.
  • Open its details and go to Licenses and Apps.
  • Uncheck the license and save the changes.

Note: You can't remove the assigned licenses in 'Shared mailbox' page.

AdminDroid Exchange Online ReporterImprove efficiency by simplifying the shared mailbox management

AdminDroid's Exchange Online reporting tool is a secret weapon for managing shared mailboxes in your Microsoft 365 organization. Say goodbye to clunky reports and hello to user-friendly insights that simplify your workload.

Unique functionalities that AdminDroid provides you to get the list of shared mailboxes in your organization

The All Shared Mailboxes report is designed to provide complete information on the shared mailboxes including their mailbox size, prohibit send and receive quota, and license status of the shared mailbox which assists you in monitoring and managing shared mailboxes.

A Quick Summary

Visualize Mailbox Storage through Insightful Graphs

Visual charts aid in tracking and analyzing changes in shared mailbox size over time, crucial for resource planning and storage allocation.

Stay Alerted on New Forwarding Rules!

Get real-time alerts on external forwarding rules configured in a shared mailbox to uphold security and prevent sensitive information from being shared externally.

Streamline your Shared Mailbox Retention Policy

Effortlessly manage shared mailbox retention holds with simple date filtering for policy start and end dates, ensuring optimized data management and compliance.

Peak Time Analysis of External Emails

Analyze the peak hours of external emails received in shared mailboxes to find out when most emails are received and manage users' response time in Exchange Online.

Shared Mailbox Traffic Analysis

Efficiently monitor shared mailbox activity by tracking daily statistics on inbound and outbound emails, identifying high-traffic mailboxes engaged in active communication.

Regular Updates on Shared Mailbox Permissions

Regularly reviewing the permissions of a shared mailbox by scheduling this report to ensure controlled access and maintain the integrity of sensitive information.

In conclusion, monitoring a shared mailbox is vital for ensuring effective communication, maintaining security, and enhancing productivity within the Exchange Online environment.

Kickstart Your Journey with AdminDroid

Your Microsoft 365 Companion with Enormous Reporting Capabilities!

Common Errors and Resolution Steps for Shared Mailbox in Exchange Online

The following are possible errors and troubleshooting hints while dealing with shared mailboxes in Microsoft Exchange Online.

Error: WARNING: Couldn't convert the mailbox

This error occurs when you attempt to convert the already converted shared mailbox in your organization.

Troubleshooting hint :Check the mailbox type detail before trying to change the mailbox type.

Get-Mailbox -Identity  | Select RecipientTypeDetails

Error: ErrorMessage : Ex6F9304 | Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException | The operation couldn't be performed because object '<UserPrincipalName>' couldn't be found on 'PN3PR01A12DC001.INDPR01A012.PROD.OUTLOOK.COM'.

This error occurs when attempting to convert a user mailbox to a shared mailbox without the user having a license.

Troubleshooting hint :Check whether the user has an active license assigned.

Connect-MgGraph
Get-MgUserLicenseDetail -userid <UserPrincipalName>

Error: You must call the Connect-ExchangeOnline cmdlet before calling any other cmdlets.

When you try to get the shared mailboxes through cmdlets before connecting to the Exchange online module, this error will occur.

Troubleshooting hint :To overcome this error, install and connect your Exchange Online PowerShell module before using this cmdlet.

Install-Module ExchangeOnline
Connect-ExchangeOnline

Error: PowerShell result shows only your mailbox

This error occurs when you don’t have sufficient permission to read the mailboxes in Exchange Online.

Troubleshooting hint :Contact your global administrator to assign appropriate admin roles.

Error: .\GetSharedMailboxReport.ps1 cannot be loaded because running scripts is disabled on this system.

This error occurs when trying to run the script. The execution policy is set to "strict" by default to prevent scripts from running.

Troubleshooting hint :To resolve this error, you can set the execution policy to run the script.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
or
Set-ExecutionPolicy -ExecutionPolicy Unrestricted