Compliance Problems

How to Fix Search-UnifiedAuditLog Missing Delegate and Administrator Activity in Exchange Online

Jason MillerJason Miller Nov 13, 2026 869 views

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.

How to Fix Search-UnifiedAuditLog Missing Delegate and Administrator Activity in Exchange Online
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 you start

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.

Solution 1Recommended

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.

1
Connect to Exchange Online or Security & Compliance PowerShell

Open Windows PowerShell and run Connect-ExchangeOnline or Connect-IPPSSession, then sign in with an account that has audit log permissions.

2
Run Search-UnifiedAuditLog with UserIds

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.

3
Review LogonType and related fields

Inspect the results with Select-Object CreationDate,UserIds,Operations,LogonType,Item or Format-List to confirm delegated or administrator access.

4
Filter further to shared mailbox actions

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.

Use the UserIds Parameter with the Acting User Account in Search-UnifiedAuditLog
Audit results returned: You have queried the acting user account and can now identify delegated or administrator activity in the unified audit log.
Free Microsoft Office alternative

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. 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. 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. 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.
Resolve the Search-UnifiedAuditLog issue in Exchange Online, then use WPS Office for daily files without extra Microsoft 365 licensing costs.Open, edit, and save DOCX, XLSX, and PPTX files with high Microsoft Office format compatibility.Lightweight installation and ribbon-style interface make it familiar for users migrating from Microsoft Word, Excel, and PowerPoint.WPS Writer, Spreadsheet, Presentation, and PDF tools cover common office tasks for free.
microsoft office alternative - wps office

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.