Exchange admin activity M365-ExchangeAdmin

25 operations, identified by Operation in the audit log.

OperationDescription
_catch_allCatch-all for M365-ExchangeAdmin rules matching the RecordType but no specific Operation.
Add-FederatedDomainA federated domain was added to the Exchange Online organization, enabling single-sign-on with an external identity provider.
Add-RecipientPermissionA SendAs permission was granted on a recipient object, enabling impersonation of that recipient.
Disable-AntiPhishRuleAn anti-phishing rule was disabled in Exchange Online Protection, reducing anti-phishing enforcement.
Disable-MalwareFilterRuleA malware filter rule was disabled, reducing malware scanning enforcement.
Disable-SafeAttachmentRuleA Safe Attachments policy rule was disabled in Microsoft Defender for Office 365, reducing detonation-sandbox coverage.
Disable-SafeLinksRuleA Safe Links policy rule was disabled in Microsoft Defender for Office 365, reducing URL-rewriting coverage.
Disable-TransportRuleA mail-flow transport rule was disabled, potentially allowing previously blocked or redirected mail to flow unimpeded.
New-AcceptedDomainA new accepted domain was added to the Exchange Online organization.
New-ManagementRoleAssignmentA new RBAC management role assignment was created, granting administrative permissions in Exchange Online.
New-TransportRuleA new mail-flow transport rule was created; adversaries use transport rules to silently copy, redirect, or delete messages.
Remove-AcceptedDomainAn accepted domain was removed from the Exchange Online organization.
Remove-AntiPhishPolicyAn anti-phishing policy was deleted.
Remove-AntiPhishRuleAn anti-phishing rule was deleted from Exchange Online Protection.
Remove-DlpPolicyA Data Loss Prevention policy was deleted from Exchange Online.
Remove-FederatedDomainA federated domain was removed from the Exchange Online organization.
Remove-MalwareFilterPolicyA malware filter policy was deleted.
Remove-MalwareFilterRuleA malware filter rule was deleted.
Remove-TransportRuleA mail-flow transport rule was deleted.
Set-AcceptedDomainAn accepted domain's configuration was modified.
Set-AdminAuditLogConfigThe administrator audit log configuration was changed; adversaries disable audit logging to evade detection.
Set-DkimSigningConfigThe DKIM signing configuration for a domain was modified; disabling DKIM weakens email authentication.
Set-MailboxA mailbox configuration was modified; commonly abused to enable forwarding, audit bypass, or delegate access.
Set-MailboxAuditBypassAssociationMailbox audit logging was bypassed for a service account, suppressing audit events for that account's actions.
Set-TransportRuleAn existing mail-flow transport rule was modified.

_catch_all: Exchange admin activity (catch-all)

#
RecordType
M365-ExchangeAdmin

Description

Catch-all for M365-ExchangeAdmin rules matching the RecordType but no specific Operation.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
UserTypeinAdmin1 rulekusto
UserTypeinDcAdmin1 rulekusto

Detection Rules #

View all rules referencing this event →

Kusto #

References #

Add-FederatedDomain

#
RecordType
M365-ExchangeAdmin

Description

A federated domain was added to the Exchange Online organization, enabling single-sign-on with an external identity provider.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

Add-RecipientPermission

#
RecordType
M365-ExchangeAdmin

Description

A SendAs permission was granted on a recipient object, enabling impersonation of that recipient.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Mailbox High-Risk Permission Delegated source low: Identifies the assignment of rights to access content from another mailbox. An adversary may use the compromised account to send messages to other accounts in the network of the target organization while creating inbox rules, so messages can evade spam/phishing detection mechanisms.↳ also matches Set-Mailbox

References #

Disable-AntiPhishRule

#
RecordType
M365-ExchangeAdmin

Description

An anti-phishing rule was disabled in Exchange Online Protection, reducing anti-phishing enforcement.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_NameeqExchange1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Anti-Phish Rule Modification source medium: Identifies the modification of an anti-phishing rule in Microsoft 365. By default, Microsoft 365 includes built-in features that help protect users from phishing attacks. Anti-phishing rules increase this protection by refining settings to better detect and prevent attacks.↳ also matches Remove-AntiPhishRule

References #

Disable-MalwareFilterRule

#
RecordType
M365-ExchangeAdmin

Description

A malware filter rule was disabled, reducing malware scanning enforcement.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

Disable-SafeAttachmentRule

#
RecordType
M365-ExchangeAdmin

Description

A Safe Attachments policy rule was disabled in Microsoft Defender for Office 365, reducing detonation-sandbox coverage.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Email Safe Attachment Rule Disabled source low: Identifies when a safe attachment rule is disabled in Microsoft 365. Safe attachment rules can extend malware protections to include routing all messages and attachments without a known malware signature to a special hypervisor environment. An adversary or insider threat may disable a safe attachment rule to exfiltrate data or evade defenses.

References #

Disable-SafeLinksRule

#
RecordType
M365-ExchangeAdmin

Description

A Safe Links policy rule was disabled in Microsoft Defender for Office 365, reducing URL-rewriting coverage.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Email Safe Link Policy Disabled source medium: Identifies when a Safe Link policy is disabled in Microsoft 365. Safe Link policies for Office applications extend phishing protection to documents that contain hyperlinks, even after they have been delivered to a user.

References #

Disable-TransportRule

#
RecordType
M365-ExchangeAdmin

Description

A mail-flow transport rule was disabled, potentially allowing previously blocked or redirected mail to flow unimpeded.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Mail Flow Transport Rule Modified source medium: Identifies when a transport rule has been disabled or deleted in Microsoft 365. Mail flow rules (also known as transport rules) are used to identify and take action on messages that flow through your organization. An adversary or insider threat may modify a transport rule to exfiltrate data or evade defenses.↳ also matches Remove-TransportRule

References #

New-AcceptedDomain

#
RecordType
M365-ExchangeAdmin

Description

A new accepted domain was added to the Exchange Online organization.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

New-ManagementRoleAssignment

#
RecordType
M365-ExchangeAdmin

Description

A new RBAC management role assignment was created, granting administrative permissions in Exchange Online.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
OperationinAdd-MailboxFolderPermission1 rulekusto, splunk
OperationinAdd-MailboxPermission1 rulekusto
OperationinNew-InboxRule1 rulekusto, splunk
OperationinNew-ManagementRoleAssignment1 rulekusto
OperationinSet-InboxRule1 rulekusto, splunk
OperationinSet-Mailbox1 rulekusto
OperationinSet-TransportRule1 rulekusto

Detection Rules #

View all rules referencing this event →

Elastic #

Kusto #

References #

New-TransportRule

#
RecordType
M365-ExchangeAdmin

Description

A new mail-flow transport rule was created; adversaries use transport rules to silently copy, redirect, or delete messages.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
OperationinNew-TransportRule2 ruleskusto
OperationinSet-TransportRule2 ruleskusto
Provider_NameeqExchange2 ruleselastic
Valueis_not_null2 ruleskusto
m365::WorkloadeqExchange2 ruleskusto
EventTypeinNew-InboxRule1 ruleelastic
EventTypeinSet-InboxRule1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Mail Flow Transport Rule Created source medium: Identifies a transport rule creation in Microsoft 365. As a best practice, Exchange Online mail transport rules should not be set to forward email to domains outside of your organization. An adversary may create transport rules to exfiltrate data.
  • M365 Exchange Inbox Forwarding Rule Created source medium: Identifies when a new Inbox forwarding rule is created in Microsoft 365. Inbox rules process messages in the Inbox based on conditions and take actions. In this case, the rules will forward the emails to a defined address. Attackers can abuse Inbox Rules to intercept and exfiltrate email data without making organization-wide configuration changes or having the corresponding privileges.↳ also matches Set-Mailbox, Set-TransportRule

Kusto #

References #

Remove-AcceptedDomain

#
RecordType
M365-ExchangeAdmin

Description

An accepted domain was removed from the Exchange Online organization.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

Remove-AntiPhishPolicy

#
RecordType
M365-ExchangeAdmin

Description

An anti-phishing policy was deleted.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_NameeqExchange1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Anti-Phish Policy Deleted source medium: Identifies the deletion of an anti-phishing policy in Microsoft 365. By default, Microsoft 365 includes built-in features that help protect users from phishing attacks. Anti-phishing polices increase this protection by refining settings to better detect and prevent attacks.

References #

Remove-AntiPhishRule

#
RecordType
M365-ExchangeAdmin

Description

An anti-phishing rule was deleted from Exchange Online Protection.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Anti-Phish Rule Modification source medium: Identifies the modification of an anti-phishing rule in Microsoft 365. By default, Microsoft 365 includes built-in features that help protect users from phishing attacks. Anti-phishing rules increase this protection by refining settings to better detect and prevent attacks.↳ also matches Disable-AntiPhishRule

References #

Remove-DlpPolicy

#
RecordType
M365-ExchangeAdmin

Description

A Data Loss Prevention policy was deleted from Exchange Online.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

Remove-FederatedDomain

#
RecordType
M365-ExchangeAdmin

Description

A federated domain was removed from the Exchange Online organization.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

Remove-MalwareFilterPolicy

#
RecordType
M365-ExchangeAdmin

Description

A malware filter policy was deleted.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Malware Filter Policy Deleted source medium: Identifies when a malware filter policy has been deleted in Microsoft 365. A malware filter policy is used to alert administrators that an internal user sent a message that contained malware. This may indicate an account or machine compromise that would need to be investigated. Deletion of a malware filter policy may be done to evade detection.

References #

Remove-MalwareFilterRule

#
RecordType
M365-ExchangeAdmin

Description

A malware filter rule was deleted.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

Remove-TransportRule

#
RecordType
M365-ExchangeAdmin

Description

A mail-flow transport rule was deleted.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Mail Flow Transport Rule Modified source medium: Identifies when a transport rule has been disabled or deleted in Microsoft 365. Mail flow rules (also known as transport rules) are used to identify and take action on messages that flow through your organization. An adversary or insider threat may modify a transport rule to exfiltrate data or evade defenses.↳ also matches Disable-TransportRule

References #

Set-AcceptedDomain

#
RecordType
M365-ExchangeAdmin

Description

An accepted domain's configuration was modified.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

References #

Set-AdminAuditLogConfig

#
RecordType
M365-ExchangeAdmin

Description

The administrator audit log configuration was changed; adversaries disable audit logging to evade detection.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
UserTypeinAdmin1 rulekusto
UserTypeinDcAdmin1 rulekusto
m365::WorkloadeqExchange1 rulekusto

Detection Rules #

View all rules referencing this event →

Kusto #

  • Exchange AuditLog Disabled source medium: Identifies when the exchange audit logging has been disabled which may be an adversary attempt to evade detection or avoid other defenses.

YARA-L #

References #

Set-DkimSigningConfig

#
RecordType
M365-ExchangeAdmin

Description

The DKIM signing configuration for a domain was modified; disabling DKIM weakens email authentication.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange DKIM Signing Configuration Disabled source medium: Identifies when a DomainKeys Identified Mail (DKIM) signing configuration is disabled in Microsoft 365. With DKIM in Microsoft 365, messages that are sent from Exchange Online will be cryptographically signed. This will allow the receiving email system to validate that the messages were generated by a server that the organization authorized and were not spoofed.

References #

Set-Mailbox

#
RecordType
M365-ExchangeAdmin

Description

A mailbox configuration was modified; commonly abused to enable forwarding, audit bypass, or delegate access.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_NameeqExchange2 ruleselastic
EventTypeinNew-InboxRule1 ruleelastic
EventTypeinSet-InboxRule1 ruleelastic
OperationinAdd-MailboxFolderPermission1 rulekusto, splunk
OperationinAdd-MailboxPermission1 rulekusto
OperationinNew-InboxRule1 rulekusto, splunk
OperationinNew-ManagementRoleAssignment1 rulekusto
OperationinSet-InboxRule1 rulekusto, splunk
OperationinSet-Mailbox1 rulekusto
OperationinSet-TransportRule1 rulekusto

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Inbox Forwarding Rule Created source medium: Identifies when a new Inbox forwarding rule is created in Microsoft 365. Inbox rules process messages in the Inbox based on conditions and take actions. In this case, the rules will forward the emails to a defined address. Attackers can abuse Inbox Rules to intercept and exfiltrate email data without making organization-wide configuration changes or having the corresponding privileges.↳ also matches New-TransportRule, Set-TransportRule
  • M365 Exchange Mailbox High-Risk Permission Delegated source low: Identifies the assignment of rights to access content from another mailbox. An adversary may use the compromised account to send messages to other accounts in the network of the target organization while creating inbox rules, so messages can evade spam/phishing detection mechanisms.↳ also matches Add-RecipientPermission

Kusto #

References #

Set-MailboxAuditBypassAssociation

#
RecordType
M365-ExchangeAdmin

Description

Mailbox audit logging was bypassed for a service account, suppressing audit events for that account's actions.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Mailbox Audit Logging Bypass Added source medium: Detects the occurrence of mailbox audit bypass associations. The mailbox audit is responsible for logging specified mailbox events (like accessing a folder or a message or permanently deleting a message). However, actions taken by some authorized accounts, such as accounts used by third-party tools or accounts used for lawful monitoring, can create a large number of mailbox audit log entries and may not be of interest to your organization. Because of this, administrators can create bypass associations, allowing certain accounts to perform their tasks without being logged. Attackers can abuse this allowlist mechanism to conceal actions taken, as the mailbox audit will log no activity done by the account.

References #

Set-TransportRule

#
RecordType
M365-ExchangeAdmin

Description

An existing mail-flow transport rule was modified.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe 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).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether 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.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
ModifiedObjectResolvedNameUser-friendly name of the object modified by the cmdlet (logged when the cmdlet modifies an object).
ParametersName/value pairs of the parameters passed to the cmdlet.
ModifiedPropertiesFor admin events: the property modified, its new value, and its previous value.
ExternalAccessFalse when run by someone in your organization; True when run by datacenter personnel, a service account, or a delegated admin.
OriginatingServerName of the server from which the cmdlet was executed.
OrganizationNameThe name of the tenant.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
OperationinSet-TransportRule3 ruleskusto
OperationinNew-TransportRule2 ruleskusto
OperationinAdd-MailboxFolderPermission1 rulekusto, splunk
OperationinAdd-MailboxPermission1 rulekusto
OperationinNew-InboxRule1 rulekusto, splunk
OperationinNew-ManagementRoleAssignment1 rulekusto
OperationinSet-InboxRule1 rulekusto, splunk
OperationinSet-Mailbox1 rulekusto
Valueis_not_null2 ruleskusto
m365::WorkloadeqExchange2 ruleskusto
EventTypeinNew-InboxRule1 ruleelastic
EventTypeinSet-InboxRule1 ruleelastic
Provider_NameeqExchange1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Inbox Forwarding Rule Created source medium: Identifies when a new Inbox forwarding rule is created in Microsoft 365. Inbox rules process messages in the Inbox based on conditions and take actions. In this case, the rules will forward the emails to a defined address. Attackers can abuse Inbox Rules to intercept and exfiltrate email data without making organization-wide configuration changes or having the corresponding privileges.↳ also matches New-TransportRule, Set-Mailbox

Kusto #

References #