Skip to content
WETNav

Operation / OperationsSuspicious

set-casmailbox: Set-CASMailbox

Client access settings for a mailbox changed, such as enabling IMAP, POP or EWS.

How to read it

Re-enabling legacy protocols on one mailbox lets an attacker bypass modern authentication controls.

Find it

OfficeActivity
| where Operation =~ "Set-CASMailbox"
| 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-casmailbox mean?
Set-CASMailbox. Client access settings for a mailbox changed, such as enabling IMAP, POP or EWS. Re-enabling legacy protocols on one mailbox lets an attacker bypass modern authentication controls.
Is Operation set-casmailbox a sign of an attack?
It deserves a look. It is associated with MITRE ATT&CK Modify Authentication Process (T1556). Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is Operation set-casmailbox recorded?
In the Operation field of Microsoft 365 unified audit log.
How do I search for Operation set-casmailbox?
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.