How to find the numbers of mails in o365 account

There are a few ways to find the number of emails in an Office 365 account:

Method 1: Using the Office 365 Admin Center

  1. Log in to the Office 365 Admin Center with your admin credentials.
  2. Click on "Reports" in the navigation menu.
  3. Click on "Mailbox reports" from the dropdown menu.
  4. Click on "Mailbox size and usage" from the sub-menu.
  5. Click on the "Mailbox size and usage" report.
  6. In the report, you'll see a summary of the mailbox size and usage, including the total number of emails.

Method 2: Using PowerShell

  1. Open PowerShell and connect to your Office 365 tenant using the following command: Connect-AzureAD
  2. Run the following command to get the total number of emails in the mailbox: Get-Mailbox -ResultSize Unlimited | Measure-Object | Select-Object -ExpandProperty Count
  3. This command will return the total number of emails in the mailbox.

Method 3: Using the Exchange Online PowerShell module

  1. Open PowerShell and connect to your Office 365 tenant using the following command: Connect-ExchangeOnline
  2. Run the following command to get the total number of emails in the mailbox: Get-Mailbox -ResultSize Unlimited | Measure-Object | Select-Object -ExpandProperty Count
  3. This command will return the total number of emails in the mailbox.

Method 4: Using the Office 365 Security & Compliance Center

  1. Log in to the Office 365 Security & Compliance Center with your admin credentials.
  2. Click on "Search" in the navigation menu.
  3. Click on "Search for content" from the dropdown menu.
  4. In the search results, click on the "Summary" tab.
  5. In the summary section, you'll see a count of the total number of emails in the mailbox.

Note: The above methods will give you the total number of emails in the mailbox, not the number of unread emails. If you want to find the number of unread emails, you can use the following PowerShell command: Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Measure-Object -Property UnreadCount | Select-Object -ExpandProperty Sum