Microsoft Teams activity M365-MicrosoftTeams
5 operations, identified by Operation in the audit log.
| Operation | Description |
|---|---|
| _catch_all | Catch-all for M365-MicrosoftTeams rules matching the RecordType but no specific Operation. |
| MemberAdded | A user was added as a member of a Microsoft Teams team or channel. |
| MemberRemoved | A user was removed from a Microsoft Teams team or channel. |
| TeamDeleted | A Microsoft Teams team was deleted. |
| TeamsTenantSettingChanged | A tenant-level Microsoft Teams configuration setting was changed by an administrator. |
_catch_all: Microsoft Teams activity (catch-all)
#Description
Catch-all for M365-MicrosoftTeams 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. |
TeamName | The name of the team being audited. |
ChannelName | The name of the channel being audited. |
ChannelType | The type of channel being audited (Standard / Private). |
Members | The members added to or removed from a team or channel. |
AddOnName | Name of the add-on (app/bot/tab) that generated the event. |
Name | For settings events, the name of the setting that changed. |
OldValue | For settings events, the previous value of the setting. |
NewValue | For settings events, the new value of the setting. |
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
MemberAdded
#Description
A user was added as a member of a Microsoft Teams team or channel.
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. |
TeamName | The name of the team being audited. |
ChannelName | The name of the channel being audited. |
ChannelType | The type of channel being audited (Standard / Private). |
Members | The members added to or removed from a team or channel. |
AddOnName | Name of the add-on (app/bot/tab) that generated the event. |
Name | For settings events, the name of the setting that changed. |
OldValue | For settings events, the previous value of the setting. |
NewValue | For settings events, the new value of the setting. |
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
MemberRemoved
#Description
A user was removed from a Microsoft Teams team or channel.
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. |
TeamName | The name of the team being audited. |
ChannelName | The name of the channel being audited. |
ChannelType | The type of channel being audited (Standard / Private). |
Members | The members added to or removed from a team or channel. |
AddOnName | Name of the add-on (app/bot/tab) that generated the event. |
Name | For settings events, the name of the setting that changed. |
OldValue | For settings events, the previous value of the setting. |
NewValue | For settings events, the new value of the setting. |
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
TeamDeleted
#Description
A Microsoft Teams team was deleted.
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. |
TeamName | The name of the team being audited. |
ChannelName | The name of the channel being audited. |
ChannelType | The type of channel being audited (Standard / Private). |
Members | The members added to or removed from a team or channel. |
AddOnName | Name of the add-on (app/bot/tab) that generated the event. |
Name | For settings events, the name of the setting that changed. |
OldValue | For settings events, the previous value of the setting. |
NewValue | For settings events, the new value of the setting. |
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::Workload | eq | MicrosoftTeams | 1 rule | kusto |
Detection Rules #
View all rules referencing this event →Kusto #
References #
- Office 365 Management Activity API schema (AuditLogRecordType enum) https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema
- Microsoft Purview audit log activities reference https://learn.microsoft.com/en-us/purview/audit-log-activities
TeamsTenantSettingChanged
#Description
A tenant-level Microsoft Teams configuration setting was changed by an administrator.
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. |
TeamName | The name of the team being audited. |
ChannelName | The name of the channel being audited. |
ChannelType | The type of channel being audited (Standard / Private). |
Members | The members added to or removed from a team or channel. |
AddOnName | Name of the add-on (app/bot/tab) that generated the event. |
Name | For settings events, the name of the setting that changed. |
OldValue | For settings events, the previous value of the setting. |
NewValue | For settings events, the new value of the setting. |
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