Symptoms
When a user runs the Start-MailboxSearch cmdlet, the user receives the ObjectNotFoundException error. In addition, the following error is logged in the Event Log:
Log Name: Application
Source: MSExchange Mid-Tier Storage
Event ID: 3017
Task Category: Discovery
Level: Error
Description:
A discovery search server failed with error. Details:<>
Cause
This issue occurs if the user who runs Start-MailboxSearch is a member of hundreds of groups, typically caused by nested group memberships.
Tip The "whoami /Groups" command can be used to view the user's group memberships when you are logged in as that user.
Workaround
To work around this issue, reduce the numbers of the group that the user is in.