Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

(L1) Ensure 'AuditBypassEnabled' is not enabled on mailboxes

CIS.M365.6.1.3MediumExchange OnlineMailbox auditingPreview 3.0

Part of CIS · Exchange Online · Mailbox auditing · All checks

Run this check
Invoke-Maester -TestId CIS.M365.6.1.3

No account is configured to bypass mailbox audit logging.

Audit bypass is meant for service accounts that generate a lot of noise, such as a monitoring or journaling account. Anything such an account does in any mailbox is not logged. An attacker or a malicious administrator with an account on the bypass list can read and change mail with no record in the audit log.

Remove the bypass from every account and reduce the noise in another way, for example by filtering the audit log when you search it.

Note: This test is LongRunning. It reads the audit bypass setting of every mailbox and recipient, which can take a long time in large tenants. Use Invoke-Maester -IncludeLongRunning to run it, or select it by ID.

  1. Connect to Exchange Online with Connect-ExchangeOnline.
  2. List the accounts with Get-MailboxAuditBypassAssociation -ResultSize Unlimited | Where-Object { $_.AuditBypassEnabled }.
  3. For each account run Set-MailboxAuditBypassAssociation -Identity <account> -AuditBypassEnabled $false.
Every attribute of this check
FieldValue
Test IDCIS.M365.6.1.3
SeverityMedium
SuiteCIS
ProductExchange Online
FeatureMailbox auditing
AreaLogging and detection
Resource typeMailbox
User impactLow
Implementation costLow
MITRE ATT&CKT1685.002 Disable or Modify Cloud Log
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 6.1.3
Benchmark levelL1
Benchmark profilesE3 Level 1
Supports controlscis-m365:6.1.3, nist-800-53-r5:AU-12
PowerShell testTest-MtCisMailboxAuditBypass
ServicesExchangeOnline
Long runningYes