Hi,
I am trying to setup the only Exchange 2013 we have and when I run the Outlook connectivity test I get the following error:
Attempting to ping RPC proxy office.domain.com. RPC Proxy can't be pinged.
![]() | Additional Details |
| An unexpected network-level exception was encountered. Exception details:
Message: The remote server returned an error: (401) Unauthorized.
Type: Microsoft.Exchange.Tools.ExRca.Extensions.MapiTransportException
Stack trace:
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier)
at Microsoft.Exchange.Tools.ExRca.Tests.MapiPingProxyTest.PerformTestReally()
Exception details:
Message: The remote server returned an error: (401) Unauthorized.
Type: System.Net.WebException
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at RpcPingLib.RpcPing.PingProxy(String internalServerFqdn, String endpoint)
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier) Elapsed Time: 1038 ms. |
I ran RPC Ping tests from a client machine and got the following result:
C:\WINDOWS\system32>rpcping -t ncacn_http -s office.domain.com -o RpcProxy=of
fice.domain.com -P "user,domain,pass" -I "user,domain,pass" -H 2 -u 10 -a con
nect -F 3 -v 3 -E -R none
RPCPing v6.0. Copyright (C) Microsoft Corporation, 2002-2006
RPCPing set Activity ID: {b45fd092-7908-461f-afe6-acc54193b209}
RPCPinging proxy server office.domain.com with Echo Request Packet
Setting autologon policy to high
Setting autologon policy to high
WinHttpSetCredentials for target server called
Sending ping to server
Response from server received: 401
Client is not authorized to ping RPC proxy
Ping failed
Then from Exchange console I ran:
Test-OutlookWebServices | fl
It gave me the following result:
[PS] C:\Windows\system32>Test-OutlookWebServices | fl
RunspaceId : f8e6bad9-2e93-44d7-b789-59e6a5c5853b
Source : EXCHANGE.domain.com
ServiceEndpoint : office.domain.com
Scenario : AutoDiscoverOutlookProvider
ScenarioDescription : Autodiscover: Outlook Provider
Result : Failure
Latency : 163
Error : System.Net.WebException: The remote server returned an error: (401) Unauthorized. --->
System.ComponentModel.Win32Exception: The target principal name is incorrect
at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean throwOnError,
SecurityStatus& statusCode)
at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)
at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest,
ICredentials credentials, Boolean preAuthenticate)
at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest,
ICredentials credentials)
at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request,
ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest,
ICredentials authInfo)
at System.Net.HttpWebRequest.CheckResubmitForAuth()
at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean& disableUpload)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at
Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.InternalInvoke()
at Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.Invoke()
Verbose : [2015-09-22 10:45:29Z] Autodiscover connecting to
'https://office.domain.com/Autodiscover/Autodiscover.xml'.
[2015-09-22 10:45:29Z] Test account: extest_3a22d3db0d6b4@domain.com Password: ******
[2015-09-22 10:45:29Z] Autodiscover request:
User-Agent: EXCHANGE/Test-OutlookWebServices/extest_3a22d3db0d6b4@domain.com
Content-Type: text/xml; charset=utf-8
Authorization: Negotiate oYIGPzCCBjugAwoBAaKCBjIEggYuYIIGKgYJKoZIhvcSAQICAQBuggYZMIIGFaADAgEFoQMC
AQ6iBwMFACAAAACjggT6YYIE9jCCBPKgAwIBBaEPGw1XRUItRVBPQ0guQ09NoiQwIqADAgECoRswGRsESFRUUBsRcmRzLndlY
i1lcG9jaC5jb22jggSyMIIErqADAgESoQMCAQeiggSgBIIEnONJCQ00jtsfuPc9e6ctQRrEO+ilYIiWbXh/FDX4N0xn9Y2kQl
n1Tj6ao1bTg9BhcArldv0Y6l0rlIYH8KhA41VSs8gga+4iyY1AR7yP5ZBkBekzfwt0Ku4LA3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LB/+HuIKia1FPHdXu7jRq
i3Oi4B47+DTln1JHbYrDDBMWf5ErcgColuvl88D6MaYPKRhmfr+Ew2AVOhDHsNaaMjAISBFPGBFfNBi0SRbUUbEPND9+Zcucp
3er8Z3CoMAPuzzPHWBYi4gaBJaeL9mW1JtoCQh9jABV6nGkeR09DIVjg8+iZU4jYPcT3ZdSuFRYFyUp2ZDbfu1YNMXOVt7Bu9
GW2VdO+venzgBtrQhw5GcbF8yx8v8IY/PT5tM8u5Iirpcohu59BiigHIgijov1854pG2pmQLbkA79f//rxMJYEeGpJo699sz0
0qbmvDOIPxP9JwqVBQfajPAOSgpdXVC3b1+yWYEZvcMNGSOuXz6Q37BLUWp94baIGj4KEikggEAMIH9oAMCARKigfUEgfLZeD
0brJN1np2YjXVujNW4QTaMPdlrIUBIas7Ojnmg4XYWuc3MOYqEQqk8G65WAZDhLK6aYwwubyvMDtZAEgaNuFE0U5d10KR7p0f
k8s1bqI3R5GKjmGzAk/PtaCeJHMzmDr6X+4/NnDQz6+cP2CERIKxcdRRHw6HMue/h6skKdBeRP6hpSmTyQrz++4XMJnvFgU1K
CaIHnefgSuVqZiFJAS6+uPVE9udjCHBtsudVl64UNmRnsColvWWXlH9tJny9FZPQ+77vP/oNWSp74LtuCr++sTmdxPspH4nmB
E9sKtLyRgUcJxEnG6KLb0turWKsaQ==
Host: office.domain.com
Cookie: ClientId=QBNOOPECFBRERXAW
Content-Length: 473
Expect: 100-continue
[2015-09-22 10:45:29Z] Autodiscover request:
<?xml version="1.0"?>
<Autodiscover xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
<Request>
<EMailAddress>extest_3a22d3db0d6b4@domain.com</EMailAddress>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/response
schema/2006a</AcceptableResponseSchema>
</Request>
</Autodiscover>
[2015-09-22 10:45:29Z] Autodiscover response:
Content-Length: 0
Server: Microsoft-IIS/8.5
WWW-Authenticate: Negotiate oXAwbqADCgEBomcEZWBjBgkqhkiG9xIBAgIDAH5UMFKgAwIBBaEDAgEepBEYDzIwMTUwO
TIyMTA0NTI5WqUFAgMN9c+mAwIBKakPGw1XRUItRVBPQ0guQ09NqhYwFKADAgEBoQ0wCxsJZXhjaGFuZ2Uk,Digest qop="a
uth",algorithm=MD5-sess,nonce="+Upgraded+v154c2c721f3052dbba88768de5fc5df2e19a964cc23f5d00183566b
ca72dc8266eba56ab1f3e51be4e4824b6f01a26292ebf296943c990251",charset=utf-8,realm="Digest",Basic
realm="exchange",NTLM
request-id: d1851eb8-fe94-4f3e-a6ff-b0b2a0d73389
X-Powered-By: ASP.NET,ARR/2.5,ASP.NET
X-FEServer: EXCHANGE
Date: Tue, 22 Sep 2015 10:45:29 GMT
[2015-09-22 10:45:29Z] Autodiscover response:
System.Net.WebException: The remote server returned an error: (401) Unauthorized. --->
System.ComponentModel.Win32Exception: The target principal name is incorrect
at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean throwOnError,
SecurityStatus& statusCode)
at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)
at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest,
ICredentials credentials, Boolean preAuthenticate)
at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest,
ICredentials credentials)
at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request,
ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest,
ICredentials authInfo)
at System.Net.HttpWebRequest.CheckResubmitForAuth()
at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean& disableUpload)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at
Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.InternalInvoke()
at Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.Invoke()
MonitoringEventId : 6001
Just to add also that all exchange services are accessed via IIS ARR and I have created URL Rewrite rules for the following to divert incoming traffic to exchange.local:
RDWeb
OWA
Autodiscover
ECP
EWS
Microsoft-Server-Activesync
RPC
OAB
MAPI
Any help will be much appreciated.