|
| 1 | +--- |
| 2 | +title: MessageEvents table in the advanced hunting schema |
| 3 | +description: Learn about the MessageEvents table in the advanced hunting schema which contains details about messages sent and received within your organization at the time of delivery |
| 4 | +search.appverid: met150 |
| 5 | +ms.service: defender-xdr |
| 6 | +ms.subservice: adv-hunting |
| 7 | +f1.keywords: |
| 8 | + - NOCSH |
| 9 | +ms.author: maccruz |
| 10 | +author: schmurky |
| 11 | +ms.localizationpriority: medium |
| 12 | +manager: dansimp |
| 13 | +audience: ITPro |
| 14 | +ms.collection: |
| 15 | +- m365-security |
| 16 | +- tier3 |
| 17 | +ms.custom: |
| 18 | +- cx-ti |
| 19 | +- cx-ah |
| 20 | +appliesto: |
| 21 | +- Microsoft Defender XDR |
| 22 | +ms.topic: reference |
| 23 | +ms.date: 03/18/2025 |
| 24 | +--- |
| 25 | + |
| 26 | +# MessageEvents (Preview) |
| 27 | + |
| 28 | +[!INCLUDE [Microsoft Defender XDR rebranding](../includes/microsoft-defender.md)] |
| 29 | + |
| 30 | +> [!IMPORTANT] |
| 31 | +> Some information relates to prereleased product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here. |
| 32 | +
|
| 33 | +The `MessageEvents` table in the [advanced hunting](advanced-hunting-overview.md) schema contains details about messages sent and received within your organization at the time of delivery. Use this reference to construct queries that return information from this table. |
| 34 | + |
| 35 | + |
| 36 | +For information on other tables in the advanced hunting schema, [see the advanced hunting reference](advanced-hunting-schema-tables.md). |
| 37 | + |
| 38 | +| Column name | Data type | Description | |
| 39 | +|-------------|-----------|-------------| |
| 40 | +| `Timestamp` | `datetime` | Date and time when the event was recorded | |
| 41 | +| `LastEditedTime` | `string` | Date and time when the message was last edited | |
| 42 | +| `TeamsMessageId` | `string` | Unique identifier for the message, as generated by Microsoft 365 | |
| 43 | +| `SenderEmailAddress` | `string` | Email address of the sender | |
| 44 | +| `SenderDisplayName` | `string` | Name of the sender displayed in the address book, typically a combination of a first name, a middle initial, and a last name or surname | |
| 45 | +| `SenderObjectId` | `string` | Unique identifier for the sender’s account | |
| 46 | +| `SenderType` | `string` | Type of user that sent the message, for example, User, Group, Anonymous | |
| 47 | +| `RecipientDetails` | `dynamic` | Array of recipient data (RecipientSmtpAddress, RecipientDisplayName, RecipientType, RecipientObjectId) | |
| 48 | +| `IsOwnedThread` | `boolean` | Boolean value indicating whether the message is owned by your organization or not (only the messages owned by your organization can be remediated)| |
| 49 | +| `MessageId` | `string` | Identifier for the message (non-unique)| |
| 50 | +| `ParentMessageId` | `string` | Identifier for the message that the current message was a reply to, otherwise this is the same as the MessageId| |
| 51 | +| `GroupId` | `string` | Identifier for the team or group that the message was sent to| |
| 52 | +| `GroupName` | `string` | Name of the team or group that the message was sent to| |
| 53 | +| `ThreadId` | `string` | Identifier of the channel or chat thread that the message is part of | |
| 54 | +| `ThreadSubtype` | `string` | Indicates the channel type, possible values: None, PrivateChannel| |
| 55 | +| `IsExternalThread` | `boolean` | Indicates if there are external recipients in the thread (1) or none (0) | |
| 56 | +| `MessageFormatType` | `string` |Type of message format; possible values: RichText, Text| |
| 57 | +| `MessageFormatSubtype` | `string` |Subtype of message format, for example, HTML| |
| 58 | +| `MessageVersion` | `string` |Version number of the message| |
| 59 | +| `MessageSubject` | `string` |Subject of the message, if it exists| |
| 60 | +| `ThreatTypes` | `string` |Verdict from the filtering stack on whether the message contains malware, phishing, or other threats| |
| 61 | +| `DetectionMethods` | `dynamic` |Methods used to detect malware, phishing, or other threats found in the message| |
| 62 | +| `ConfidenceLevel` | `dynamic` |List of confidence levels for each threat type identified| |
| 63 | +| `DeliveryAction` | `string` |Delivery action of the message: Delivered, Blocked| |
| 64 | +| `DeliveryLocation` | `string` |Location of the message at the time of delivery| |
| 65 | +| `ReportId` | `string` |Unique identifier for the event| |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | +## Related topics |
| 70 | +- [Advanced hunting overview](advanced-hunting-overview.md) |
| 71 | +- [Learn the query language](advanced-hunting-query-language.md) |
| 72 | +- [Understand the schema](advanced-hunting-schema-tables.md) |
| 73 | +- [Apply query best practices](advanced-hunting-best-practices.md) |
| 74 | + |
| 75 | + |
| 76 | +[!INCLUDE [Microsoft Defender XDR rebranding](../includes/defender-m3d-techcommunity.md)] |
0 commit comments