A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
- Retrieving mailboxes and current audit actions
Use Exchange Online PowerShell to see which mailbox actions are currently audited per sign-in type.
Connect first (for example, with Connect-ExchangeOnline). Then:
- Owner actions on a mailbox:
Get-Mailbox -Identity <MailboxIdentity> | Select-Object -ExpandProperty AuditOwner
- Delegate actions on a mailbox:
Get-Mailbox -Identity <MailboxIdentity> | Select-Object -ExpandProperty AuditDelegate
- Admin actions on a mailbox:
Get-Mailbox -Identity <MailboxIdentity> | Select-Object -ExpandProperty AuditAdmin
To list all user/shared mailboxes and see which actions are configured per sign-in type:
Get-Mailbox -RecipientTypeDetails UserMailbox,SharedMailbox -ResultSize Unlimited |
Select-Object DisplayName,PrimarySmtpAddress,AuditOwner,AuditDelegate,AuditAdmin
To understand whether a mailbox is still using Microsoft-managed defaults or has been customized, check DefaultAuditSet as described in the mailbox auditing article. A value of Owner means only owner actions are defaulted; a blank value means all three sign-in types (Admin, Delegate, Owner) have been customized.
- Impact of enabling more actions (including MailItemsAccessed) on log volume
Mailbox audit logging entries are retained in the mailbox for 90 days. Adding more audited actions, especially high-frequency ones such as MailItemsAccessed, will increase the number of audit events generated and therefore the volume of audit data stored and returned in searches.
From the shared mailbox investigation guidance, operations such as SoftDelete, HardDelete, MoveToDeletedItems, Move, SendAs, and MailItemsAccessed are all common, user-driven actions and can appear frequently in audit searches:
- Deletions:
SoftDelete,HardDelete,MoveToDeletedItems - Moves:
Move,MoveToDeletedItems - Access:
MailItemsAccessed(E5 required) - Send operations:
SendAs,SendOnBehalf,Send
Enabling MailItemsAccessed in particular will increase log volume because it records item access, not just changes.
- Will this generate a large volume of logs and affect user experience?
The documentation and examples focus on how to search and interpret the additional events (for example, using Search-UnifiedAuditLog with -Operations SoftDelete,HardDelete,MoveToDeletedItems or Move,MoveToDeletedItems, or SendAs) and do not indicate any negative end-user experience from enabling these audit actions.
Mailbox audit logging is on by default for all organizations, and Microsoft manages the default audited actions and automatically adds new actions over time. This design is intended to provide comprehensive auditing without requiring tenant-level performance tuning by admins.
- Performance impact considerations
Within the provided guidance, there is no stated negative impact on:
- Mailbox latency
- Overall Exchange Online performance
- Outlook or other client performance
- Throttling beyond the normal limits when running
Search-UnifiedAuditLog
Instead, the focus is on:
- How to customize which actions are audited per sign-in type using
Set-Mailbox(for example,AuditAdmin,AuditDelegate,AuditOwner). - How to investigate activity efficiently using targeted searches (for example, filtering by
-Operations,-FreeText,-UserIds, and-ResultSize).
Examples:
- Deleted items in a shared mailbox:
Search-UnifiedAuditLog -StartDate 01/06/2020 -EndDate 01/20/2020 \
-FreeText <******@domain.com> \
-Operations SoftDelete,HardDelete,MoveToDeletedItems -ResultSize 500
- Sent-as activity:
Search-UnifiedAuditLog -StartDate 01/06/2020 -EndDate 01/20/2020 \
-UserIds <user1,user2> \
-FreeText <******@domain.com> \
-Operations SendAs -ResultSize 500
- Folder browsing (
FolderBind) when enabled on delegates:
Get-Mailbox <******@domain.com> | Select AuditDelegate |
Where-Object {$_.AuditDelegate -contains "FolderBind"}
Set-Mailbox <******@domain.com> -AuditDelegate @{Add="FolderBind"}
Search-UnifiedAuditLog -StartDate 01/06/2020 -EndDate 01/20/2020 \
-FreeText <******@domain.com> \
-Operations FolderBind -ResultSize 500
These patterns show that the recommended way to handle higher event volume is to:
- Scope searches by mailbox (
-FreeText), user (-UserIds), operations (-Operations), and time window (-StartDate,-EndDate). - Limit result size (
-ResultSize) to keep queries efficient.
No explicit performance degradation for clients or Exchange Online is documented when enabling the listed actions; mailbox auditing with these operations is treated as a standard, supported configuration.
- Best-practice alignment
Based on the mailbox auditing and shared mailbox investigation guidance:
- Use Microsoft-managed defaults unless there is a clear requirement to customize.
- When customizing, explicitly set
AuditAdmin,AuditDelegate, andAuditOwnerto include the required actions (such asSoftDelete,HardDelete,MoveToDeletedItems,Move,SendAs,SendOnBehalf,MailItemsAccessed,UpdateFolderPermissions,UpdateInboxRules, etc.). - Regularly review which actions are configured using the
Get-Mailboxqueries above. - Use focused
Search-UnifiedAuditLogqueries and appropriate-ResultSizelimits to manage the volume of returned data.
References: