Skip to content
WETNav

Operation / OperationsHigh signal

set-mailboxauditbypassassociation: Set-MailboxAuditBypassAssociation

An account was exempted from (or returned to) mailbox auditing.

How to read it

AuditBypassEnabled = True means mailbox actions by that account are no longer logged. Rarely legitimate outside some service accounts.

Find it

OfficeActivity
| where Operation =~ "Set-MailboxAuditBypassAssociation"
| project TimeGenerated, UserId, ClientIP, Operation, Parameters, OfficeObjectId

ATT&CK

About Operation

The activity recorded in the unified audit log. These are the operations that matter most in business email compromise and data theft cases.

Every Microsoft 365 audit Operation value →

Questions

What does Operation set-mailboxauditbypassassociation mean?
Set-MailboxAuditBypassAssociation. An account was exempted from (or returned to) mailbox auditing. AuditBypassEnabled = True means mailbox actions by that account are no longer logged. Rarely legitimate outside some service accounts.
Is Operation set-mailboxauditbypassassociation a sign of an attack?
Often, yes. It is a strong signal. It is associated with MITRE ATT&CK Disable or Modify Cloud Logs (T1562.008). Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is Operation set-mailboxauditbypassassociation recorded?
In the Operation field of Microsoft 365 unified audit log.
How do I search for Operation set-mailboxauditbypassassociation?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.