Search-AdminAuditLog and Search-MailboxAuditLog with parameter return empty results
Original KB number: 3054391
Symptoms
When you run the Search-AdminAuditLog or Search-MailboxAuditLog cmdlets in Exchange Management Shell together with a Cmdlets or Parameters parameter to filter the results, an empty or incomplete result set is returned. Even if you run the Search-AdminAuditLog cmdlet without parameters, the full results might not be returned as expected.
Resolution
To fix this issue, install the following Cumulative Updates (CUs) as appropriate:
Cumulative Update 12 for Exchange Server 2019 or a later cumulative update for Exchange Server 2019
Cumulative Update 23 for Exchange Server 2016 or a later cumulative update for Exchange Server 2016
Workaround
You might be able to work around this issue depending on the language settings on the server where the searched mailbox is located (active copy of database containing the mailbox you are running search for). On the server, open the Welcome screen and new user accounts settings dialog box in the Region settings and check the Format setting for Welcome screen. If Format is not set to English (United States), follow these steps to set the language and regional settings for the system and network service accounts:
- Set English (United States) as the primary language.
- In Control Panel, open the Language item.
- Add the language of English (United States).
- Select Options for the added language.
- Select Download and install language pack if this option is available.
- Select Make this the primary language.
- Copy the regional settings.
In Control Panel, open the Region item.
Select English (United States) in the Format list.
Open the Administrative tab, and select Copy settings.
In the Welcome screen and new user accounts settings dialog box, select Welcome screen and system accounts, and then select OK.
Note
- The system accounts include the network service account.
- You can revert the Format setting for Current user to the original value as long as Format for Welcome screen is set to English (United States).
Note
The MSExchangeDelivery service may not start together with Exchange Server. If the service doesn't start, follow these steps:
- Change the logon account of the service to Local System.
- Revert the logon account to Network Service.
- Start the service.