Magic Quadrant™ for Privileged Access Management 2025: Netwrix Recognized for the Fourth Year in a Row. Download the report.

Platform
Resource centerHow-to-Guide
How to Monitor Who Accessed a Shared Mailbox

How to Monitor Who Accessed a Shared Mailbox

Native Auditing

  • To enable auditing for a specific mailbox, run the following command in Exchange Management Shell:
      Set-Mailbox –Identity "TestUser" -AuditEnabled $true
      
  • To audit all mailboxes, enter this:
      $UserMailboxes = Get-mailbox -Filter {(RecipientTypeDetails -eq 'UserMailbox')} $UserMailboxes | ForEach {Set-Mailbox $_.Identity -AuditEnabled $true}
      
  • To check which mailboxes have the mailbox audit enabled, run the following command:
      Get-Mailbox | FL Name,AuditEnabled
      
  • To retrieve the audit log entries, run the following command:
      Search-MailboxAuditLog -Identity "TestUser" -LogonTypes Admin,Delegate -ShowDetails -StartDate 1/1/2014 -EndDate 12/31/
      
  • To send the mailbox audit log entries to a specified mailbox, run the following command:
      New-MailboxAuditLogSearch "smtp.server.name" -Mailboxes "TestUser","TestUser1" -LogonTypes Admin,Delegate -StartDate 1/1/2014 -EndDate 12/31/2014 –ShowDetails -StatusMailRecipients auditors@test.local
      

Report Sample:

Image

Netwrix Auditor for Exchange

  1. Run Netwrix Auditor → Navigate to "Reports" → Expand the "Exchange" section → Select "All Exchange Server Non-Owner Mailbox Access Events" → Click "View".
  2. To save the report, click the "Export" button → Choose a format from the dropdown menu → Click "Save".
Image

Share on