Link to home
Create AccountLog in
Avatar of JacksonTechnical
JacksonTechnical

asked on

Trouble running mailbox search Exchange 2016

When trying to run a mailbox search from ECP or command shell we get the same errors, copied below.  Any idea on what direction to troubleshoot this?

[PS] C:\Windows\system32>New-MailboxSearch

cmdlet New-MailboxSearch at command pipeline position 1
Supply values for the following parameters:
Name: Domain User
The request failed. The underlying connection was closed: An unexpected error occurred on a receive.
    + CategoryInfo          : NotSpecified: (:) [], DataSourceOperationException
    + FullyQualifiedErrorId : [Server=SERVERNAME,RequestId=fda72f95-c890-40d6-8840-de18d3d4e826,TimeStamp=12/19/2017
   5:27:53 PM] [FailureCategory=Cmdlet-DataSourceOperationException] 6C09AFD7
    + PSComputerName        : server.domain.com

[PS] C:\Windows\system32>get-mailboxsearch
The request failed. The underlying connection was closed: An unexpected error occurred on a receive.
    + CategoryInfo          : NotSpecified: (:) [Get-MailboxSearch], DataSourceOperationException
    + FullyQualifiedErrorId : [Server=SERVERNAME,,RequestId=fda72f95-c890-40d6-8840-de18d3d4e826,TimeStamp=12/19/2017
   6:01:18 PM] [FailureCategory=Cmdlet-DataSourceOperationException] 25D67BC1,Microsoft.Exchange.Management.Tasks.Get
  MailboxSearch
    + PSComputerName        : server.domain.com

[PS] C:\Windows\system32>$error[0] | fl -force

writeErrorStream      : True
OriginInfo            : server.domain.com
Exception             : System.Management.Automation.RemoteException: The request failed. The underlying connection
                        was closed: An unexpected error occurred on a receive.
TargetObject          :
CategoryInfo          : NotSpecified: (:) [Get-MailboxSearch], DataSourceOperationException
FullyQualifiedErrorId : [Server=SERVERNAME,,RequestId=5d522559-98e6-4836-9e6e-755633fdb089,TimeStamp=12/19/2017
                        6:04:26 PM] [FailureCategory=Cmdlet-DataSourceOperationException]
                        25D67BC1,Microsoft.Exchange.Management.Tasks.GetMailboxSearch
ErrorDetails          :
InvocationInfo        :
ScriptStackTrace      : at <ScriptBlock><Process>, <No file>: line 41
PipelineIterationInfo : {}
PSMessageDetails      :
Avatar of Sunil Chauhan
Sunil Chauhan
Flag of India image

Is this error specific to this CMD only ?? are you able to run any other CMD on the shell?

have you tried to connect to any other shell host (CAS sever)??
Avatar of JacksonTechnical
JacksonTechnical

ASKER

This is only on this specific command.  All other commands work fine.  Its an on premises Exchange 2016 server with 300 mailboxes running CU6.
Do you know if the account you are running "New-MailboxSearch" with has been assigned to the "Discovery Management" role group?

References...
Yes, the user is a member of the following Exchange Management Groups.  Compliance Management, Discovery Management, Organization Management, Records Management.  The user is also a domain admin account, shema admin, and enterprise admin.
can try if its works when you run it for the specific mailbox, its seems you are just running it without providing any parameter.

New-MailboxSearch -Name "Hold-tailspintoys" -SourceMailboxes DG-Research -SearchQuery "'Patent' AND 'Project tailspintoys'"

https://technet.microsoft.com/en-us/library/dd298064(v=exchg.160).aspx
SOLUTION
Avatar of JacksonTechnical
JacksonTechnical

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
try recycling ecp application pool.

did you check if you found anything on the event logs regarding this ??
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- JacksonTechnical (https:#a42414683)
-- JacksonTechnical (https:#a42410943)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer