ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Any Exchange geeks on here? Please help!!



Hello,

We are currently in the final stages of migrating from Exchange 2010 on a Server 2008 R2 environment to Exchange 2013 on a Server 2012 R2 virtual server. Outlook Web Access and EAC is working fine however auto discover isn't. When running the test-outlookwebservices command we are getting a 401 error.

We have a valid certificate on the server, I have disabled IPv6 and loopback on the server as this has caused issue for other people.

Any ideas what could be causing this?

Thanks

Tom



EMC command output:

Code:
[PS] C:\Windows\system32>test-outlookwebservices | fl


RunspaceId          : ea25e9dc-4cec-4745-aa47-dcdaeeb701a4
Source              : Exchange.Haslandhall.local
ServiceEndpoint     : has-exch.haslandhall.local
Scenario            : AutoDiscoverOutlookProvider
ScenarioDescription : Autodiscover: Outlook Provider
Result              : Failure
Latency             : 116
Error               : System.Net.WebException: The remote server returned an error: (401) Unauthorized.
                         at System.Net.HttpWebRequest.GetResponse()
                         at
                      Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.InternalInvoke()
                         at Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.Invoke()
Verbose             : [2014-09-11 09:40:06Z] Autodiscover connecting to
                      'https://has-exch.haslandhall.local/Autodiscover/Autodiscover.xml'.
                      [2014-09-11 09:40:06Z] Test account: extest_f342b7ac7f3f4@Haslandhall.local Password: ******
                      [2014-09-11 09:40:06Z] Autodiscover request:
                      User-Agent: EXCHANGE/Test-OutlookWebServices/extest_f342b7ac7f3f4@haslandhall.local
                      Content-Type: text/xml; charset=utf-8
                      Host: exchange.haslandhall.local
                      Connection: Keep-Alive
                      [2014-09-11 09:40:06Z] 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_f342b7ac7f3f4@haslandhall.local</EMailAddress>
                          <AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/response
                      schema/2006a</AcceptableResponseSchema>
                        </Request>
                      </Autodiscover>
                      [2014-09-11 09:40:06Z] Autodiscover response:
                      request-id: 77e764da-3e10-4349-b9cc-8da134218b85
                      Server: Microsoft-IIS/8.5
                      WWW-Authenticate: Negotiate,NTLM
                      X-Powered-By: ASP.NET
                      X-FEServer: EXCHANGE
                      Date: Thu, 11 Sep 2014 09:40:06 GMT
                      Content-Length: 0
                      [2014-09-11 09:40:06Z] Autodiscover response:
                      System.Net.WebException: The remote server returned an error: (401) Unauthorized.
                         at System.Net.HttpWebRequest.GetResponse()
                         at
                      Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.InternalInvoke()
                         at Microsoft.Exchange.Management.SystemConfigurationTasks.ServiceValidatorBase.Invoke()
MonitoringEventId   : 6001

RunspaceId          : ea25e9dc-4cec-4745-aa47-dcdaeeb701a4
Source              : Exchange.Haslandhall.local
ServiceEndpoint     :
Scenario            : ExchangeWebServices
ScenarioDescription : Exchange Web Services
Result              : Skipped
Latency             : 0
Error               : Skipped testing Exchange Web Services because the Autodiscover step failed.
Verbose             :
MonitoringEventId   : 5002

RunspaceId          : ea25e9dc-4cec-4745-aa47-dcdaeeb701a4
Source              : Exchange.Haslandhall.local
ServiceEndpoint     :
Scenario            : AvailabilityService
ScenarioDescription : Availability Service
Result              : Skipped
Latency             : 0
Error               : Skipped testing Availability Service because the Autodiscover step failed.
Verbose             :
MonitoringEventId   : 5003

RunspaceId          : ea25e9dc-4cec-4745-aa47-dcdaeeb701a4
Source              : Exchange.Haslandhall.local
ServiceEndpoint     :
Scenario            : OfflineAddressBook
ScenarioDescription : Offline Address Book
Result              : Skipped
Latency             : 0
Error               : Skipped testing Offline Address Book because the Autodiscover step failed.
Verbose             :
MonitoringEventId   : 5004​
 

rctempire

ClioSport Moderator
Thomas

Done some digging.
I presume you have checked this out?
http://www.exchange-genie.com/2007/07/401-error-when-attempting-test-outlookwebservices/

Does the CERT contain the external fqdn and not the internal. Both the internal/external names should be registered on the certificate

I know this is for 2007 but principles are the same
http://blogs.technet.com/b/exchange/archive/2007/04/30/3402138.aspx


To me it looks certificate based and it is the wrong certificate that is installed/used.

Hi,

Thanks for looking into this for me. Yes disabled Loopbackcheck and IPv6 the other day, rebooted but it's still not fixed it.

This is what my exchange server certificate covers;

2yv84zp.png


Will have a read through that now,

Thanks

Tom
 


Top