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-Ma ilboxSearc h
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: (:) [], DataSourceOperationExcepti on
+ FullyQualifiedErrorId : [Server=SERVERNAME,Request Id=fda72f9 5-c890-40d 6-8840-de1 8d3d4e826, TimeStamp= 12/19/2017
5:27:53 PM] [FailureCategory=Cmdlet-Da taSourceOp erationExc eption] 6C09AFD7
+ PSComputerName : server.domain.com
[PS] C:\Windows\system32>get-ma ilboxsearc h
The request failed. The underlying connection was closed: An unexpected error occurred on a receive.
+ CategoryInfo : NotSpecified: (:) [Get-MailboxSearch], DataSourceOperationExcepti on
+ FullyQualifiedErrorId : [Server=SERVERNAME,,Reques tId=fda72f 95-c890-40 d6-8840-de 18d3d4e826 ,TimeStamp =12/19/201 7
6:01:18 PM] [FailureCategory=Cmdlet-Da taSourceOp erationExc eption] 25D67BC1,Microsoft.Exchang e.Manageme nt.Tasks.G et
MailboxSearch
+ PSComputerName : server.domain.com
[PS] C:\Windows\system32>$error [0] | fl -force
writeErrorStream : True
OriginInfo : server.domain.com
Exception : System.Management.Automati on.RemoteE xception: The request failed. The underlying connection
was closed: An unexpected error occurred on a receive.
TargetObject :
CategoryInfo : NotSpecified: (:) [Get-MailboxSearch], DataSourceOperationExcepti on
FullyQualifiedErrorId : [Server=SERVERNAME,,Reques tId=5d5225 59-98e6-48 36-9e6e-75 5633fdb089 ,TimeStamp =12/19/201 7
6:04:26 PM] [FailureCategory=Cmdlet-Da taSourceOp erationExc eption]
25D67BC1,Microsoft.Exchang e.Manageme nt.Tasks.G etMailboxS earch
ErrorDetails :
InvocationInfo :
ScriptStackTrace : at <ScriptBlock><Process>, <No file>: line 41
PipelineIterationInfo : {}
PSMessageDetails :
[PS] C:\Windows\system32>New-Ma
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: (:) [], DataSourceOperationExcepti
+ FullyQualifiedErrorId : [Server=SERVERNAME,Request
5:27:53 PM] [FailureCategory=Cmdlet-Da
+ PSComputerName : server.domain.com
[PS] C:\Windows\system32>get-ma
The request failed. The underlying connection was closed: An unexpected error occurred on a receive.
+ CategoryInfo : NotSpecified: (:) [Get-MailboxSearch], DataSourceOperationExcepti
+ FullyQualifiedErrorId : [Server=SERVERNAME,,Reques
6:01:18 PM] [FailureCategory=Cmdlet-Da
MailboxSearch
+ PSComputerName : server.domain.com
[PS] C:\Windows\system32>$error
writeErrorStream : True
OriginInfo : server.domain.com
Exception : System.Management.Automati
was closed: An unexpected error occurred on a receive.
TargetObject :
CategoryInfo : NotSpecified: (:) [Get-MailboxSearch], DataSourceOperationExcepti
FullyQualifiedErrorId : [Server=SERVERNAME,,Reques
6:04:26 PM] [FailureCategory=Cmdlet-Da
25D67BC1,Microsoft.Exchang
ErrorDetails :
InvocationInfo :
ScriptStackTrace : at <ScriptBlock><Process>, <No file>: line 41
PipelineIterationInfo : {}
PSMessageDetails :
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...
References...
ASKER
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
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
try recycling ecp application pool.
did you check if you found anything on the event logs regarding this ??
did you check if you found anything on the event logs regarding this ??
ASKER CERTIFIED SOLUTION
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
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
have you tried to connect to any other shell host (CAS sever)??