How to Fix Search-UnifiedAuditLog Missing Delegate and Administrator Activity in Exchange Online
Question details
The user needs to understand why Search-UnifiedAuditLog does not show administrator or delegated-user mailbox activity for a shared mailbox, while Search-MailboxAuditLog returns those events, and how to query the acting user account correctly.

- Product
- Microsoft Exchange Online / Security & Compliance Center PowerShell
- Device & OS
- not provided
- Scenario
- An administrator is auditing shared mailbox access and needs to retrieve delegated-user and administrator actions from the unified audit log.
- Observed behavior
- Search-UnifiedAuditLog returns no administrator or delegated-user activity when filtered by the shared mailbox identity, while Search-MailboxAuditLog returns those events.
Before running the queries, connect to Exchange Online PowerShell or the Security & Compliance Center PowerShell, and identify the exact delegate or administrator account that performed the action instead of relying only on the shared mailbox address.
Use the UserIds Parameter with the Acting User Account in Search-UnifiedAuditLog
Use this when you need unified audit log entries for delegated or administrator actions on a shared mailbox; query the account that performed the action rather than the shared mailbox identity.
The unified audit log records the acting user in the UserIds field. Filtering by the shared mailbox identity misses actions because the audit record is attributed to the delegate's or administrator's account, not to the mailbox on which the action was performed.
Open Windows PowerShell and run Connect-ExchangeOnline or Connect-IPPSSession, then sign in with an account that has audit log permissions.
Run Search-UnifiedAuditLog -UserIds admin@contoso.com -StartDate (Get-Date).AddDays(-10) -EndDate (Get-Date), replacing the address with the delegate or administrator account that performed the action.
Inspect the results with Select-Object CreationDate,UserIds,Operations,LogonType,Item or Format-List to confirm delegated or administrator access.
If needed, filter the returned records by the shared mailbox name in the Item or Folders fields to isolate which actions affected the shared mailbox.

Cross-Check Search-MailboxAuditLog Results and Map the Acting User Identity
Use this to confirm which delegate or administrator generated an event before running a unified audit log query.
Prefer a Lighter Office Alternative for Everyday Document Work While You Troubleshoot Microsoft 365 Compliance
Search-UnifiedAuditLog is a Microsoft 365 compliance cmdlet, so this audit-log gap must be resolved in Exchange Online PowerShell. For daily document, spreadsheet, and presentation tasks, WPS Office is a free, lightweight Microsoft Office alternative with familiar formatting and strong compatibility.
- 1. Download WPS Office Free: Go to the official WPS Office download page and click Download WPS Office Free to install the Windows or macOS version.
- 2. Open existing Microsoft Office files: Launch WPS Writer, Spreadsheet, or Presentation, click Open, and choose a DOCX, XLSX, or PPTX file from your computer or cloud drive.
- 3. Edit and save in compatible formats: Use the familiar ribbon tools to edit the file, then click Menu > Save As and keep the original Microsoft Office format.

Frequently Asked Questions
Why does Search-UnifiedAuditLog show no results for a shared mailbox?
The unified audit log records actions by the acting user. Use the acting delegate's or administrator's account in the UserIds parameter instead of the shared mailbox identity.
Which parameter should I use to find delegated activity in Search-UnifiedAuditLog?
Use -UserIds with the acting user account, and check LogonType, Operations, and Item fields to identify delegated actions.
Do I still need the shared mailbox identity in Search-UnifiedAuditLog?
You can include it in other filters, but the primary search should identify the acting user. Filtering only by shared mailbox identity commonly misses administrator or delegate events.
How can I confirm delegate activity if Search-UnifiedAuditLog is unclear?
Run Search-MailboxAuditLog -Identity <shared mailbox> -LogonType Delegate,Admin -ShowDetails, note the acting user account, then query that account in Search-UnifiedAuditLog.
Is this a WPS Office issue?
No, this is related to Microsoft Exchange Online and Microsoft 365 compliance PowerShell. WPS Office does not manage Exchange unified audit logs.




