Event type
Mailbox Permission Delegation
Add-MailboxPermission - Persistent Mailbox Access
Records Add-MailboxPermission operations that grant mailbox access rights (FullAccess, SendAs, SendOnBehalf) to other users, providing persistent access that survives password resets
Overview
What this event covers
Captures Add-MailboxPermission operations that grant mailbox access rights to other users. FullAccess permissions are particularly concerning as they provide complete mailbox access, survive password resets, and can enable long-term persistence for attackers.
When generated
- ›Administrator delegates mailbox access for legitimate business needs
- ›Executive assistant granted access to executive mailbox
- ›Attacker establishes persistence via mailbox delegation
- ›Service account configured with mailbox access permissions
- ›Shared mailbox permissions configured
Security relevance
HighCompliance
Frequency notes
Low frequency under normal operations. Suspicious patterns: FullAccess granted to contractor/external accounts, permissions granted to recently created accounts, automapping enabled (automatically adds mailbox to Outlook), and off-hours activity (2.5x night multiplier). FullAccess to executive/finance mailboxes requires elevated scrutiny.
Resources
Docs and tools
Generation
Configuration
- Base frequency
- 3 events/hour
- Time patterns
- business_hours night_hours
- Business hours
- 2.0x
- Night hours
- 2.5x
- Weekend
- 2.0x
Schema
Field definitions
Field reference for this event type — types, requirements, examples, and allowed values.
CreationTime
Timestamp when the mailbox permission was granted
Source: now() | iso8601
ISO 86012024-12-15T11:42:18ZId
Unique identifier for this audit record
Source: random_guid()
GUIDd5e6f7a8-b9c0-1d2e-3f4a-5b6c7d8e9f0aOperation
Exchange PowerShell cmdlet executed
Source: Static value 'Add-MailboxPermission'
Add-MailboxPermissionOrganizationId
Microsoft 365 tenant identifier
Source: Derived from organization domain
GUIDb4c5d6e7-8f9a-0b1c-2d3e-4f5a6b7c8d9eRecordType
Office 365 audit log record type (1 = ExchangeAdmin)
Source: Static value 1
1ResultStatus
Outcome of the permission grant operation
Source: random_choice(['Success', 'Success', 'Success', 'Failed'])
Success-
SuccessPermission granted successfully -
FailedPermission grant failed (insufficient permissions or validation error)
UserKey
Unique identifier for the administrator who granted the permission
Source: registry.get_random_user().email
it.admin@contoso.comUserType
Type of user performing the action (should be admin)
Source: Static value 2 (Administrator)
2-
2Administrator - required for Add-MailboxPermission
Workload
Office 365 service where the operation occurred
Source: Static value 'Exchange'
ExchangeUserId
User principal name of the administrator account
Source: registry.get_random_user().email
Email/UPNit.admin@contoso.comClientIP
IP address and port from which the operation was performed
Source: random_choice([random_private_ip(), random_public_ip()])
IPv4:Port192.0.2.147:57392ObjectId
Target mailbox for which permissions were granted
Source: registry.get_random_user().email
Email/UPNexecutive@contoso.comExternalAccess
Indicates if the operation was performed from outside the corporate network
Source: random_choice(['false', 'false', 'true']) - weighted toward internal
falseOrganizationName
Microsoft 365 tenant name
Source: Derived from organization domain
*.onmicrosoft.comcontoso.onmicrosoft.comOriginatingServer
Exchange server that processed the operation
Source: Random Exchange Online server identifier
BN8PR01MB5678 (15.20.7654.32)Parameters
PowerShell parameters used in the Add-MailboxPermission operation
Source: Array of parameter objects
Parameters[].Name
Parameter name (Identity, User, AccessRights, InheritanceType, Automapping)
AccessRightsParameters[].Value
Parameter value - AccessRights (FullAccess, SendAs, SendOnBehalf), User (delegated account), Automapping (auto-add to Outlook)
Source: Context-specific values
FullAccess-
FullAccessComplete mailbox access including all folders - highest risk -
SendAsSend emails as the mailbox owner -
SendOnBehalfSend emails on behalf of the mailbox owner -
ReadPermissionRead-only access to mailbox
SessionId
Session identifier for the administrative connection
Source: random_guid()
GUIDb2c3d4e5-f6a7-8b9c-0d1e-2f3a4b5c6d7eClientInfoString
Information about the client application used
Source: Random client type (PowerShell, WebServices, EAC)
Client=PowerShell;Version=15.20;Item
Object containing details about the target mailbox
Source: Object with mailbox identity
ModifiedProperties
Properties that were changed, showing permission grant details
Source: Array showing AccessRights and User additions
ModifiedProperties[].Name
Property name (AccessRights, User)
AccessRightsModifiedProperties[].NewValue
New permission value granted
Source: Permission type granted
FullAccessModifiedProperties[].OldValue
Previous value (typically empty for new permissions)
Source: Empty string for new permissions