Empty results are returned when you run Search-AdminAuditLog or Search-MailboxAuditLog with a parameter in Exchange Server
Original KB number: 3054391
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 result set is returned. Even if you run the
Search-AdminAuditLog cmdlet without parameters, the full results may not be returned as expected.
This issue occurs in Microsoft Exchange Server 2013 and Exchange Server 2016.
To work around this issue, set language and regional settings for the system and network service accounts to English (United States) on the server where the searched mailbox is located (active copy of database containing the mailbox you are running search for).
- Set English (United States) as the primary language.
- In Control Panel, open Language.
- Add the language of English (United States).
- Click Options for the added language.
- Click Download and install language pack if it appears.
- Click Make this the primary language.
- Copy the regional settings.
In Control Panel, open Region.
Select English (United States) as Format in the "Format:" drop down list.
Click the Administrative tab.
On the Administrative tab, click Copy settings.
In the Welcome screen and new user accounts settings dialog box, click to select Welcome screen and system accounts, and then click OK.
The system accounts include the network service account.
Click Change system locale... and set it English (United States).
- Restart Exchange Server.
To verify that the language and regional setting is correct, open a Windows PowerShell window and run the
Get-UICulture command. The command should return en-US on the Name column.
The MSExchangeDelivery service may not start 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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.