Test-outlookconnectivity failure
-
Saturday, January 05, 2013 8:09 PM
Hi,
One of the CAS server i get error below after run the commad "Test-OutlookConnectivity -Protocol tcp"
RFRI::GetReferral. Failure -1.00
ErrorRecord: Task failed on timeout. Overtime = 00:07:49.4185783.
+ CategoryInfo : OperationTimeout: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
OutlookConnectivity], TaskException
+ FullyQualifiedErrorId : C918CCB1,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTaskThe casarray is defined on Hardware load balancer, versiyon is Exchange 2010 SP2 RU 4 v.2
how can i fix this problem?
Thank you in advance...
- Edited by rchael Sunday, January 06, 2013 9:17 AM
All Replies
-
Sunday, January 06, 2013 7:34 AM
Any luck with this one ?
Test-OutlookConnectivity -RpcTestType:Server - RpcClientAccessServer:CAS01 -Protocol:TCP
Om
- Edited by Om Prakash Nath Sunday, January 06, 2013 7:37 AM edit
-
Sunday, January 06, 2013 9:13 AM
I couldn't run it, here is the error,
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo : InvalidArgument: (:) [Test-OutlookConnectivity], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Test-OutlookConnectivityi write host name of the cas server and also try the FQDN after the command -RpcClientAccessServer: but it did not work? am i write wrong thing or ..
But,
"Test-OutlookConnectivity -RpcTestType:Server"
command is work and result is for all below is success...
Scenario Result Latency
(MS)
-------- ------ -------
RFRI::GetReferral. Success 31.20
NSPI::GetProfileDetails. Success 31.20
Mailbox::Connect. Success 0.00
Mailbox::Logon. Success 0.00The difference between this and the first one is,
when run the command , "Test-OutlookConnectivity -Protocol tcp", this try to get result for ServiceEndPoint for Casarray (FQDN), and this one is failed
But for the second command ("Test-OutlookConnectivity -RpcTestType:Server") try to get result for ServiceEndPoint for local casserver (one of the three cas server ), this one is success...
- Edited by rchael Sunday, January 06, 2013 9:14 AM
-
Sunday, January 06, 2013 10:12 AM
-
Sunday, January 06, 2013 11:06 AM
when i run the command, Test-OutlookConnectivity -RpcTestType:Server -Protocol:TCP on all of the CAS server, it gives the error below, i don't understand why.
[PS] C:\Windows\system32>Test-OutlookConnectivity -RpcTestType:Server -Protocol:TCP
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo : InvalidArgument: (:) [Test-OutlookConnectivity], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Test-OutlookConnectivity
and,
if i run the command, Test-OutlookConnectivity -RpcTestType:Server, on all of cas server, the result for all "success",
but when i run the command,
Test-OutlookConnectivity -protocol TCP
just one of the cas server (cas01) gives error , other's (for cas02 and cas03) result is success, so i try to understand, what is the problem of this cas server?
For this cas server (cas01) the result for the command "Test-outlookconnectivity -protocol tcp" is,
Scenario Result
-------- ------
Autodiscover: Web service request. SuccessRFRI::GetReferral. Failure -1.00
ErrorRecord: Task failed on timeout. Overtime = 00:07:49.4185783.
+ CategoryInfo : OperationTimeout: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
OutlookConnectivity], TaskException
+ FullyQualifiedErrorId : C918CCB1,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTaskYou can see that the first line is success, but after that it gives error.
-
Sunday, January 06, 2013 4:12 PM
Test-OutlookConnectivity -protocol TCP -verbose
Run this on the CAS server in question, this will give a detailed info.
Test-OutlookConnectivity -RpcTestType:Array -Protocol:TCP
This command will use the Client Access server array as the RPC endpoint to test the Outlook (MAPI) connectivity.
If this is successful, then your CAS Array is working as expected.
Are all the CAS servers at same patch level?
Om
- Edited by Om Prakash Nath Sunday, January 06, 2013 4:17 PM edit
-
Sunday, January 06, 2013 8:47 PM
Hi,
the result is here,
VERBOSE: [19:49:16.538 GMT] Test-OutlookConnectivity : Address Book Referral failed to return a directory server and
the RpcClientAccessServer parameter wasn't specified, so Test-OutlookConnectivity will use the local Client Accessserver for directory (NSPI) connections.VERBOSE: [19:49:16.507 GMT] Test-OutlookConnectivity : AddressBook operation failed. Operation = 'GetReferral', Error
= 'The Address Book Referral operation failed. Operation = '<GetNewDSA>b__6', returnValue = '1460', server =
ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_1eb30811639a4', .'VERBOSE: [19:49:16.538 GMT] Test-OutlookConnectivity : Address Book Referral failed to return a directory serv
the RpcClientAccessServer parameter wasn't specified, so Test-OutlookConnectivity will use the local Client Ac
server for directory (NSPI) connections.
VERBOSE: [19:49:16.538 GMT] Test-OutlookConnectivity : Address Book Referral failed to return a directory serv
the RpcClientAccessServer parameter wasn't specified, so Test-OutlookConnectivity will use the local Client Ac
server for directory (NSPI) connections.
VERBOSE: [19:49:16.554 GMT] Test-OutlookConnectivity : Address Book Referral failed to return a directory serv
the RpcClientAccessServer parameter wasn't specified, so Test-OutlookConnectivity will use the local Client Ac
server for directory (NSPI) connections.
VERBOSE: [19:49:16.554 GMT] Test-OutlookConnectivity : Using connection parameters :
'cam.intra\extest_1eb30811639a4: Nspi/TCP-IP,
VERBOSE: [19:49:16.554 GMT] Test-OutlookConnectivity : Address Book Operation = 'Bind'
VERBOSE: [19:49:16.554 GMT] Test-OutlookConnectivity : Address Book Operation = 'GetHierarchyInfo'
VERBOSE: [19:49:16.585 GMT] Test-OutlookConnectivity : Address Book Operation = 'QueryHomeMDB', Input =
'primarySmtpAddress', Input Value = 'extest_1eb30811639a4@cam.com'
VERBOSE: [19:49:16.601 GMT] Test-OutlookConnectivity : /o=cam/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=cas.cam.intra/cn=Microsoft Private MDB
VERBOSE: [19:49:16.601 GMT] Test-OutlookConnectivity : /o=CAM/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_1eb30811639a4
VERBOSE: [19:49:16.601 GMT] Test-OutlookConnectivity : Address Book Operation = 'GetNetworkAddresses', Input =VERBOSE: [19:49:16.616 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [19:49:16.616 GMT] Test-OutlookConnectivity : Address Book Referral failed to return a directory server and
the RpcClientAccessServer parameter wasn't specified, so Test-OutlookConnectivity will use the local Client Access
server for directory (NSPI) connections.
VERBOSE: [19:49:16.663 GMT] Test-OutlookConnectivity : Admin Audit Log: Entered Handler:OnComplete.
1. ErrorRecord: Task failed on timeout. Overtime = 00:03:08.7571792.
+ CategoryInfo : OperationTimeout: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
OutlookConnectivity], TaskException
+ FullyQualifiedErrorId : ADE44A5E,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
VERBOSE: [19:49:16.741 GMT] Test-OutlookConnectivity : Ending processing &But i couldn't run the command,
Test-OutlookConnectivity -RpcTestType:Array -Protocol:TCP
It gives error,
[PS] C:\Windows\system32>Test-OutlookConnectivity -RpcTestType:Array -Protocol:TCP
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo : InvalidArgument: (:) [Test-OutlookConnectivity], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Test-OutlookConnectivityAnd yes, all the CAS servers at same patch level.
- Edited by rchael Monday, January 07, 2013 4:35 AM
-
Sunday, January 06, 2013 9:08 PM
-
Sunday, January 06, 2013 9:40 PM
on cas02,
ClientAccessServer ServiceEndpoint Scenario Result Latency
(MS)
------------------ --------------- -------- ------ -------
CAS02.cam.... email.cam.com Autodiscover: Web service request. Success 46.80
VERBOSE: [21:32:49.539 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.539 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : Using connection parameters :
'cam.intra\extest_1eb30811639a4: Rfri/TCP-IP, [cas.cam.intra/Negotiate]'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : Address Book Operation = 'GetNewDSA', Input = 'userLegacyDN',
Input Value = '/o=CAM/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_1eb30811639a4'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : GetNewDSA Response - Result: 'cas.cam.intra'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : Address Book Operation = 'GetFQDNFromLegacyDN', Input =
'serverLegacyDN', Input Value = '/o=CAM/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=cas.cam.intra'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : GetFQDNFromLegacyDN Response - Result: 'cas.cam.intra'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
CAS02.cam.... cas.cam.intra RFRI::GetReferral. Success 15.60
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : Using connection parameters :
'cam.intra\extest_1eb30811639a4: Nspi/TCP-IP, [cas.cam.intra/Negotiate]'
VERBOSE: [21:32:49.555 GMT] Test-OutlookConnectivity : Address Book Operation = 'Bind'
VERBOSE: [21:32:49.571 GMT] Test-OutlookConnectivity : Address Book Operation = 'GetHierarchyInfo'
VERBOSE: [21:32:49.571 GMT] Test-OutlookConnectivity : Address Book Operation = 'QueryHomeMDB', Input =
'primarySmtpAddress', Input Value = 'extest_1eb30811639a4@cam.com'
VERBOSE: [21:32:49.586 GMT] Test-OutlookConnectivity : /o=CAM/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=cas.cam.intra/cn=Microsoft Private MDB
VERBOSE: [21:32:49.586 GMT] Test-OutlookConnectivity : /o=CAM/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_1eb30811639a4
VERBOSE: [21:32:49.586 GMT] Test-OutlookConnectivity : Address Book Operation = 'GetNetworkAddresses', Input =
'serverLegacyDN', Input Value = '/o=CAM/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=cas.cam.intra'
VERBOSE: [21:32:49.586 GMT] Test-OutlookConnectivity : ncacn_ip_tcp:cas.cam.intra
VERBOSE: [21:32:49.586 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
CAS02.cam.... cas.cam.intra NSPI::GetProfileDetails. Success 31.20
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : Using connection parameters :
'cam.intra\extest_1eb30811639a4: Mailbox/TCP-IP, [cas.cam.intra/Negotiate]'
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : Mailbox Operation: 'EcDoConnectEx', Target mailbox:
'/o=CAM/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_1eb30811639a4'
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : EcDoConnectEx Result: '0'
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
CAS02.cam.... cas.cam.intra Mailbox::Connect. Success 0.00
VERBOSE: [21:32:49.602 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
VERBOSE: [21:32:49.617 GMT] Test-OutlookConnectivity : EcDoRpcExt2 Response - Result: '0'
VERBOSE: [21:32:49.617 GMT] Test-OutlookConnectivity : EcDoRpcExt2 Response - Error code: '0'
VERBOSE: [21:32:49.617 GMT] Test-OutlookConnectivity : RPC Endpoint = 'cas.cam.intra'
CAS02.cam.... cas.cam.intra Mailbox::Logon. Success 15.60
VERBOSE: [21:32:49.617 GMT] Test-OutlookConnectivity : Admin Audit Log: Entered Handler:OnComplete.
VERBOSE: [21:32:49.617 GMT] Test-OutlookConnectivity : Ending processing &
And there is nothing on event log related with this issue....
......
actually, we get error from SCOM like this,
Alert: TCP Connectivity with Autodiscover - Address Book failure (ABREF) Resolution state....
.....
Verbose: Using connection parameters : 'cam.intra\extest_1eb30811639a4: Rfri/TCP-IP, [cas.cam.intra/Negotiate]'
Verbose: Address Book Operation = 'GetNewDSA', Input = 'userLegacyDN', Input Value = '/o=CAM/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_1eb30811639a4'
Verbose: Microsoft.Exchange.Rpc.RpcException: Error 0x5b4 (This operation returned because the timeout period expired) from cli_RfrGetNewDSA RPC EEInfo is not enabled or there is no error on this thread.
at ThrowRpcException(Int32 rpcStatus, String message)
at Microsoft.Exchange.Rpc.RpcClientBase.ThrowRpcExceptionWithEEInfo(Int32 rpcStatus, String routineName)
at Microsoft.Exchange.Rpc.Rfri.RfriRpcClient.GetNewDSA(String userDN, String& server)
at Microsoft.Exchange.Monitoring.RfriClientWrapper.<>c__DisplayClass7.<GetNewDSA>b__6()
at Microsoft.Exchange.Monitoring.OutlookConnectivityContext.RpcExceptionWrapper(Func`1 protectedCall)
Verbose: AddressBook operation failed. Operation = 'GetReferral', Error = 'The Address Book Referral operation failed. Operation = '<GetNewDSA>b__6', returnValue = '1460', server = 'CAS01.cam.intra', user = '/o=CAM/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_1eb30811639a4', .'
.....
- Edited by rchael Sunday, January 06, 2013 10:07 PM
-
Monday, January 07, 2013 7:42 AM
What kind of certificate is used in the CAS server? A Self-signed certificate or a third party certificate?
Test-OutlookConnectivity -Protocol:TCP -TrustAnySslCert:$true -MonitoringContext
Test-OutlookConnectivity -RpcTestType:array -TrustAnySslCert -MonitoringContext
Do you get any error if you run this on "CAS01.cam.intra"?
Om
- Edited by Om Prakash Nath Monday, January 07, 2013 8:17 AM edit
-
Monday, January 07, 2013 8:39 AM
We use *wildcard certificate (third party) for IIS and SMTP...
And after run this command, the result is the same with previous one, failured...
-
Friday, January 11, 2013 3:29 AM

