Exchange mailbox activities (per-item) M365-ExchangeItem
8 operations, identified by Operation in the audit log.
| Operation | Description |
|---|---|
| _catch_all | Catch-all for M365-ExchangeItem rules matching the RecordType but no specific Operation. |
| Add-MailboxFolderPermission | A permission entry was added to a mailbox folder (UAL operation AddFolderPermissions), granting a delegate access to a specific folder. |
| Add-MailboxPermission | FullAccess (delegate) mailbox permission was granted, allowing another user to access the mailbox; logged as a mailbox activity even when an admin performs it. |
| HardDelete | A mailbox item was permanently deleted (hard-deleted) and is not recoverable from the Deleted Items folder. |
| MoveToDeletedItems | A mailbox item was moved to the Deleted Items folder. |
| New-InboxRule | A mailbox owner or delegate created an inbox rule in Outlook web app, commonly abused for auto-forwarding or deletion of evidence. |
| Set-InboxRule | A mailbox owner or delegate modified an inbox rule in Outlook web app. |
| SoftDelete | A mailbox item was soft-deleted (moved to the Recoverable Items / Deleted Items dumpster and recoverable by the user). |
_catch_all: Exchange mailbox activities (per-item) (catch-all)
#Description
Catch-all for M365-ExchangeItem rules matching the RecordType but no specific Operation.
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
Add-MailboxFolderPermission
#Description
A permission entry was added to a mailbox folder (UAL operation AddFolderPermissions), granting a delegate access to a specific folder.
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Operation | in | Add-MailboxFolderPermission | 1 rule | kusto, splunk |
Operation | in | Add-MailboxPermission | 1 rule | kusto |
Operation | in | New-InboxRule | 1 rule | kusto, splunk |
Operation | in | New-ManagementRoleAssignment | 1 rule | kusto |
Operation | in | Set-InboxRule | 1 rule | kusto, splunk |
Operation | in | Set-Mailbox | 1 rule | kusto |
Operation | in | Set-TransportRule | 1 rule | kusto |
Detection Rules #
View all rules referencing this event →Kusto #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
Add-MailboxPermission
#Description
FullAccess (delegate) mailbox permission was granted, allowing another user to access the mailbox; logged as a mailbox activity even when an admin performs it.
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Operation | in | Add-MailboxFolderPermission | 1 rule | kusto, splunk |
Operation | in | Add-MailboxPermission | 1 rule | kusto |
Operation | in | New-InboxRule | 1 rule | kusto, splunk |
Operation | in | New-ManagementRoleAssignment | 1 rule | kusto |
Operation | in | Set-InboxRule | 1 rule | kusto, splunk |
Operation | in | Set-Mailbox | 1 rule | kusto |
Operation | in | Set-TransportRule | 1 rule | kusto |
Detection Rules #
View all rules referencing this event →Elastic #
Kusto #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
HardDelete
#Description
A mailbox item was permanently deleted (hard-deleted) and is not recoverable from the Deleted Items folder.
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
Detection Rules #
View all rules referencing this event →Elastic #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
MoveToDeletedItems
#Description
A mailbox item was moved to the Deleted Items folder.
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
Detection Rules #
View all rules referencing this event →Elastic #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
New-InboxRule
#Description
A mailbox owner or delegate created an inbox rule in Outlook web app, commonly abused for auto-forwarding or deletion of evidence.
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
EventType | in | New-InboxRule | 3 rules | elastic |
EventType | in | Set-InboxRule | 3 rules | elastic |
Operation | eq | New-InboxRule | 3 rules | kusto, sigma, splunk |
m365::Parameters | contains | deletemessage | 3 rules | kusto, sigma |
m365::Parameters | contains | deleted items | 2 rules | kusto |
m365::Parameters | contains | junk email | 2 rules | kusto |
BodyContainsWords | contains | phishing | 2 rules | kusto |
BodyContainsWords | contains | alert | 1 rule | kusto |
BodyContainsWords | contains | suspicious | 1 rule | kusto |
BodyContainsWords | contains | do not click | 1 rule | kusto |
BodyContainsWords | contains | do not open | 1 rule | kusto |
BodyContainsWords | contains | fake | 1 rule | kusto |
Provider_Name | eq | Exchange | 2 rules | elastic |
SubjectContainsWords | contains | phishing | 2 rules | kusto |
SubjectOrBodyContainsWords | contains | phishing | 2 rules | kusto |
Detection Rules #
View all rules referencing this event →Sigma #
Elastic #
Kusto #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
Set-InboxRule
#Description
A mailbox owner or delegate modified an inbox rule in Outlook web app.
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
EventType | in | New-InboxRule | 3 rules | elastic |
EventType | in | Set-InboxRule | 3 rules | elastic |
Provider_Name | eq | Exchange | 2 rules | elastic |
Operation | eq | New-InboxRule | 1 rule | kusto, sigma, splunk |
Operation | eq | Set-InboxRule | 1 rule | sigma, splunk |
Operation | in | Add-MailboxFolderPermission | 1 rule | kusto, splunk |
Operation | in | Add-MailboxPermission | 1 rule | kusto |
Operation | in | New-InboxRule | 1 rule | kusto, splunk |
Operation | in | New-ManagementRoleAssignment | 1 rule | kusto |
Operation | in | Set-InboxRule | 1 rule | kusto, splunk |
Operation | in | Set-Mailbox | 1 rule | kusto |
Operation | in | Set-TransportRule | 1 rule | kusto |
m365::ObjectId | is_not_null | | 1 rule | elastic |
m365::Parameters | contains | deletemessage | 1 rule | kusto, sigma |
Detection Rules #
View all rules referencing this event →Sigma #
Elastic #
Kusto #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
SoftDelete
#Description
A mailbox item was soft-deleted (moved to the Recoverable Items / Deleted Items dumpster and recoverable by the user).
Fields #
| Name | Description |
|---|---|
RecordType | AuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON). |
Operation | The name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS). |
Workload | The Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS. |
ResultStatus | Whether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError. |
UserId | UPN of the user who performed the action; system-account and app@sharepoint values also appear. |
UserType | Type of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal. |
UserKey | Alternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events). |
ClientIP | IPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events. |
ObjectId | For SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific. |
OrganizationId | GUID of the tenant's Office 365 organization (constant per tenant). |
Id | Unique identifier (GUID) for the audit record. |
CreationTime | UTC date/time when the audit record was generated. |
Scope | Source of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only). |
AppAccessContext | Application context for the user or service principal that performed the action. |
LogonType | Type of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...). |
MailboxOwnerUPN | Email address of the person who owns the accessed mailbox. |
MailboxGuid | Exchange GUID of the accessed mailbox. |
LogonUserSid | SID of the user who performed the operation. |
ExternalAccess | True if the logon user's domain differs from the mailbox owner's domain. |
ClientInfoString | Information about the email client used (browser/Outlook version, mobile device info). |
ClientIPAddress | IP address of the device used when the operation was logged. |
ClientProcessName | The email client used to access the mailbox. |
SessionId | Unique session identifier; helps separate attacker actions from day-to-day activity on a compromised account. |
Detection Rules #
View all rules referencing this event →Elastic #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities