New-MoveRequest. The call to net.tcp [server name] prod.outlook.com/Microsoft.Exchange.MailboxReplicationService [server name] prod.outlook.com ([IP])' failed. Error details: The socket connection was aborted.

Saw this at a customer. They had something odd with an authenticating proxy in IE. They changed to an anonymous proxy and that fixed it. See also New-PSSessionOption, ProxyAccessType and ProxyAuthentication for potential workarounds.

 

Example error:

 

Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:21:53

First Name Last Name
Failed

Error:
The call to 'net.tcp://sn2prd0502ca011.namprd05.prod.outlook.com/Microsoft.Exchange.MailboxReplicationService SN2PRD0502CA011.namprd05.prod.outlook.com (14.1.225.56 caps:07)' failed. Error details: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:00'. --> The write operation failed, see inner exception. --> The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:00'. --> An existing connection was forcibly closed by the remote host.

The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:00'.

The write operation failed, see inner exception.

The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:00'.

An existing connection was forcibly closed by the remote host
Click here for help... https://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&t=exchgf1&e=ms.exch.err.Ex8FE8AAExchange

Exchange

 

Management Shell command attempted:
'c7f56df8-ec48-4935-b066-1a8505835f46' | New-MoveRequest -Remote -RemoteHostName 'ex10.ourdomain.com' -RemoteCredential 'System.Management.Automation.PSCredential' -TargetDeliveryDomain 'service.ourdomain.com'

Elapsed Time: 00:21:53