Deleted-item audit records for a mailbox with delegated access can be retrieved, but the search method determines whether delegate identities are visible.
- Searching by User (UserIds) returns actions performed by that user, not all actions in the mailbox. It also does not return activities performed in shared mailboxes or by delegates on another mailbox.
- To see all delete/move-to-Deleted-Items actions that occurred in a specific mailbox (including actions performed by delegates), search the unified audit log by the mailbox’s ExchangeGuid, not by UserIds:
Search-UnifiedAuditLog -StartDate <start> -EndDate <end> \
-FreeText (Get-Mailbox <mailbox identity>).ExchangeGuid
This returns all mailbox-audit events for that mailbox. In the exported results:
- The mailbox that was acted on is identified by fields such as MailboxGuid and MailboxResolvedOwnerName.
- The actor (who performed the action) is identified by UserId in the main columns and by delegate-related fields inside AuditData, such as DelegateUserDisplayName and LogonUserSid.
- If the goal is specifically to track deleted items in a shared or delegated mailbox, use a targeted query for delete operations and the mailbox identity:
Search-UnifiedAuditLog -StartDate <start> -EndDate <end> \
-FreeText <******@domain.com> \
-Operations SoftDelete,HardDelete,MoveToDeletedItems \
-ResultSize 500
This query returns delete-related operations in that mailbox regardless of whether they were performed by the owner or a delegate. Delegate identities are visible in the audit data fields mentioned above.
- Ensure mailbox auditing is enabled and configured to log the relevant actions for delegates and owners so that future delete/move events are captured:
Set-Mailbox <mailbox> -AuditEnabled $true \
-AuditOwner @{Add="Move","MoveToDeletedItems","SoftDelete","HardDelete","Create"} \
-AuditDelegate @{Add="SendAs","Move"}
Also verify that organization-wide auditing is not disabled:
Set-OrganizationConfig -AuditDisabled $false
With these settings and by querying via ExchangeGuid or mailbox FreeText, audit results will show which delegate deleted or moved items in the mailbox.
References: