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
A discovery search server failed with error. Details:<>


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.


To work around this issue, reduce the numbers of the group that the user is in. 

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!