Azure Active Directory / Entra ID events M365-AzureActiveDirectory
13 operations, identified by Operation in the audit log.
| Operation | Description |
|---|---|
| _catch_all | Catch-all for M365-AzureActiveDirectory rules matching the RecordType but no specific Operation. |
| Add application. | An application registration was created in Azure Active Directory (the UAL operation string includes a trailing period). |
| Add group. | A group was created in Azure Active Directory (the UAL operation string includes a trailing period). |
| Add member to group. | A principal was added to a group in Azure Active Directory (the UAL operation string includes a trailing period). |
| Add member to role. | A principal was added to an Azure Active Directory directory role (the UAL operation string includes a trailing period). |
| Add registered users to device. | Registered users were added to a device object in Azure Active Directory (the UAL operation string includes a trailing period). |
| Consent to application. | Admin or user consent was granted to an application in Azure Active Directory (the UAL operation string includes a trailing period). |
| Delete group. | A group was deleted in Azure Active Directory (the UAL operation string includes a trailing period). |
| Remove member from group. | A principal was removed from a group in Azure Active Directory (the UAL operation string includes a trailing period). |
| Set-MsolDomainFederationSettings | Federation settings for a domain were changed via the MSOnline module (a directory operation, not an Exchange cmdlet); abused to add a backdoor federation trust. |
| Update application. | An application registration was modified in Azure Active Directory (the UAL operation string includes a trailing period). |
| UserLoggedIn | A user successfully signed in to an Azure Active Directory-integrated application or service. |
| UserLoginFailed | A user sign-in attempt to an Azure Active Directory-integrated application failed (incorrect credentials, MFA denial, or Conditional Access block). |
_catch_all: Azure Active Directory / Entra ID events (catch-all)
#Description
Catch-all for M365-AzureActiveDirectory 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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 application.
#Description
An application registration was created in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 |
|---|---|---|---|---|
target.resource.product_object_id | eq | 1b730954-1685-4b74-9bfd-dac224a7b894 | 1 rule | chronicle |
Detection Rules #
View all rules referencing this event →YARA-L #
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 group.
#Description
A group was created in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 |
|---|---|---|---|---|
security_result.action | eq | BLOCK | 1 rule | chronicle |
Detection Rules #
View all rules referencing this event →YARA-L #
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 member to group.
#Description
A principal was added to a group in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
Detection Rules #
View all rules referencing this event →YARA-L #
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 member to role.
#Equivalent operation in the other pipeline: Add member to role (Entra ID directory audit)
Description
A principal was added to an Azure Active Directory directory role (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
Detection Rules #
View all rules referencing this event →Elastic #
YARA-L #
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 registered users to device.
#Equivalent operation in the other pipeline: Add registered users to device (Entra ID directory audit)
Description
Registered users were added to a device object in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 | eq | UserLoggedIn | 1 rule | elastic |
m365::ExtendedProperties.RequestType | eq | OAuth2:Authorize | 1 rule | elastic |
m365::ExtendedProperties.ResultStatusDetail | eq | Redirect | 1 rule | elastic |
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
Consent to application.
#Equivalent operation in the other pipeline: Consent to application (Entra ID directory audit)
Description
Admin or user consent was granted to an application in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 |
|---|---|---|---|---|
m365::ObjectId | is_not_null | | 1 rule | elastic |
m365::Target.Type | in | 0 | 1 rule | elastic |
m365::Target.Type | in | 10 | 1 rule | elastic |
m365::Target.Type | in | 2 | 1 rule | elastic |
m365::Target.Type | in | 3 | 1 rule | elastic |
m365::UserId | is_not_null | | 1 rule | elastic |
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
Delete group.
#Description
A group was deleted in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
Detection Rules #
View all rules referencing this event →YARA-L #
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
Remove member from group.
#Description
A principal was removed from a group in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
Detection Rules #
View all rules referencing this event →YARA-L #
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-MsolDomainFederationSettings
#Description
Federation settings for a domain were changed via the MSOnline module (a directory operation, not an Exchange cmdlet); abused to add a backdoor federation trust.
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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
Update application.
#Description
An application registration was modified in Azure Active Directory (the UAL operation string includes a trailing period).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 |
|---|---|---|---|---|
security_result.action | eq | ALLOW | 4 rules | chronicle |
target.resource.attribute.labels.key | regex_match | NewValue_EntitlementId- | 3 rules | chronicle |
target.resource.attribute.labels.key | regex_match | OldValue_EntitlementId- | 3 rules | chronicle |
target.resource.product_object_id | eq | 1b730954-1685-4b74-9bfd-dac224a7b894 | 1 rule | chronicle |
Detection Rules #
View all rules referencing this event →YARA-L #
Show 1 more (4 total)
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
UserLoggedIn
#Description
A user successfully signed in to an Azure Active Directory-integrated application or service.
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 | eq | UserLoggedIn | 6 rules | elastic |
security_result.action | eq | ALLOW | 6 rules | chronicle |
m365::UserId | is_not_null | | 3 rules | elastic |
target.resource.product_object_id | eq | 1b730954-1685-4b74-9bfd-dac224a7b894 | 3 rules | chronicle |
Provider_Name | eq | AzureActiveDirectory | 2 rules | elastic |
m365::ApplicationId | in | 00b41c95-dab0-4487-9791-b9d2c32c80f2 | 2 rules | elastic |
m365::ApplicationId | in | 04b07795-8ddb-461a-bbee-02f9e1bf7b46 | 2 rules | elastic |
m365::ApplicationId | in | 0ec893e0-5785-4de6-99da-4ed124e5296c | 2 rules | elastic |
m365::ApplicationId | in | 1950a258-227b-4e31-a9cf-717495945fc2 | 2 rules | elastic |
m365::ApplicationId | in | 1fec8e78-bce4-4aaf-ab1b-5451cc387264 | 2 rules | elastic |
m365::ApplicationId | in | 22098786-6e16-43cc-a27d-191a01a1e3b5 | 2 rules | elastic |
m365::ApplicationId | in | 26a7ee05-5602-4d76-a7ba-eae8b7b67941 | 2 rules | elastic |
m365::ApplicationId | in | 27922004-5251-4030-b22d-91ecd9a37ea4 | 2 rules | elastic |
m365::ApplicationId | in | 2d7f3606-b07d-41d1-b9d2-0d0c9296a6e8 | 2 rules | elastic |
m365::ApplicationId | in | 4813382a-8fa7-425e-ab75-3b753aab3abb | 2 rules | elastic |
Detection Rules #
View all rules referencing this event →Sigma #
Elastic #
Show 3 more (6 total)
YARA-L #
Show 3 more (6 total)
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
UserLoginFailed
#Description
A user sign-in attempt to an Azure Active Directory-integrated application failed (incorrect credentials, MFA denial, or Conditional Access block).
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. |
AzureActiveDirectoryEventType | The type of Microsoft Entra event (AccountLogon, AzureApplicationAuditEvent, ...). |
ExtendedProperties | Extended properties of the Microsoft Entra event (name/value pairs). |
ModifiedProperties | For admin events: the property modified, its new value, and its previous value. |
TargetResources | Objects affected by the operation (users, groups, apps, service principals, roles), with modifiedProperties; the Graph / Sentinel projection of the same record. |
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 | PasswordLogonInitialAuthUsingPassword | 2 rules | elastic |
EventType | in | UserLoginFailed | 2 rules | elastic |
Provider_Name | in | AzureActiveDirectory | 2 rules | elastic |
Provider_Name | in | Exchange | 2 rules | elastic |
m365::Target.Type | in | 0 | 2 rules | elastic |
m365::Target.Type | in | 10 | 2 rules | elastic |
m365::Target.Type | in | 2 | 2 rules | elastic |
m365::Target.Type | in | 6 | 2 rules | elastic |
Esql.brute_force_type | ne | other | 1 rule | elastic |
Esql.event_count | ge | 10 | 1 rule | elastic |
source.as.organization.name | ne | MICROSOFT-CORP-MSN-as-BLOCK | 1 rule | elastic |
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