none
autodiscover in ExRCA Failed.

    Question

  • hi all, 

    i cannot seem to get the autodiscover service working correctly in our Exchange 2010 environment.  I was hopeing someone could help me track down the issue. Ill provide as much information as i can. 

    Our certificates have the names

    webmail.domain.com

    autodiscover.domain.com

    {cas server}.thedirectory.local

    legacy.domain.com

    Running the test-outlookwebservices on the CAS Server, the results are:

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1019
    Type       : Information
    Message    : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://we
                 bmail.domain.com/autodiscover/autodiscover.xml.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1013
    Type       : Error
    Message    : When contacting https://webmail.domain.com/autodiscover/autodiscover.xml received the error The remote
                 server returned an error: (500) Internal Server Error.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1023
    Type       : Error
    Message    : The Autodiscover service couldn't be contacted.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1113
    Type       : Error
    Message    : When contacting https://{CAS SERVER}.thedirectory.local:443/autodiscover/autodiscover.xml received the error The r
                 emote server returned an error: (500) Internal Server Error.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1123
    Type       : Error
    Message    : The Autodiscover service couldn't be contacted.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1024
    Type       : Success
    Message    : [EXCH] Successfully contacted the AS service at https://{CAS SERVER}.thedirectory.local/EWS/Exchange.asmx. The ela
                 psed time was 203 milliseconds.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1026
    Type       : Success
    Message    : [EXCH] Successfully contacted the UM service at https://{CAS SERVER}.thedirectory.local/EWS/Exchange.asmx. The ela
                 psed time was 0 milliseconds.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1024
    Type       : Success
    Message    : [EXPR] Successfully contacted the AS service at https://webmail.domain.com/EWS/Exchange.asmx. The elaps
                 ed time was 125 milliseconds.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1026
    Type       : Success
    Message    : [EXPR] Successfully contacted the UM service at https://webmail.domain.com/EWS/Exchange.asmx. The elaps
                 ed time was 15 milliseconds.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1124
    Type       : Success
    Message    : [Server] Successfully contacted the AS service at https://{CAS SERVER}.thedirectory.local/ews/exchange.asmx. The e
                 lapsed time was 62 milliseconds.

    RunspaceId : 1524b3ef-ac4a-4ae2-beb7-914a76797a15
    Id         : 1126
    Type       : Success
    Message    : [Server] Successfully contacted the UM service at https://{CAS SERVER}.thedirectory.local/ews/exchange.asmx. The e
                 lapsed time was 15 milliseconds.

    For DNS Internally, i have the following records under my internal Domain name:

    autodiscover.thedirectory.local  -  CNAME - internal IP Address

    webmail.thedirectory.local  - A - Internal IP Address (same a s autodiscover)

    _autodiscover - SRV - pointing to webmail.thedirectory.local

    Under the domain.com DNS (niternal, running split DNS)

    autodiscover.domain.com- CNAME - webmail.domain.com

    webmail.domain.com- A - Internal IP Address (same a s autodiscover)

    _autodiscover - SRV - pointing to webmail.domain.com

    authentication is Anonymous, Basic, and Windows on the Autodiscover virtual directory.  I have even run through an resetup the autodiscover service..

     

    running  the below command i get these results

    Get-AutodiscoverVirtualDirectory -server mex1 | fl InternalURL, ExternalURL

    Creating a new session for implicit remoting of "Get-AutodiscoverVirtualDirectory" command...


    InternalUrl : https://internal server.thedirectory.local/Autodiscover/Autodiscover.xml
    ExternalUrl : https://webmail.domain.com/Autodiscover/Autodiscover.xml

    When we hit the pages, it just gives me a HTTP 500 error...  Does anyone have any clues?

    Thanks

     

    Scott Lancaster


    Scott Lancaster - IT Manager
    Thursday, January 05, 2012 5:40 AM

All replies

  • Hi Scott,

    Unfortunately HTTP 500 errors are quite difficult to troubleshoot since these errors don't really tell what the problem is. In some cases, if you are lucky enough, HTTP 500 disappears after a reboot or restart of IIS service. Please double check if Exchange related services are running properly (all services that are set to Automatic).

    I recommend you to check the Event Log if there are any errors that related to Internet Information Services or Exchange CAS related services and if you find any, please post it here so we may take a look at the problem.

     

     


    MCT, MCITP, MCTS
    Sunday, January 08, 2012 11:46 PM
  • HI am getting this error while configuring outlook. instead of outlook pointing to CASARRAY it points to mailbox server [PS] C:\Windows\system32>Test-OutlookWebServices RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1019 Type : Information Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://we bmail.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1006 Type : Information Message : Contacted the Autodiscover service at https://webmail.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1016 Type : Information Message : [EXCH] The AS service is configured for this user in the Autodiscover response received from https://webma il.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1015 Type : Information Message : [EXCH] The OAB service is configured for this user in the Autodiscover response received from https://webm ail.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1014 Type : Information Message : [EXCH] The UM service is configured for this user in the Autodiscover response received from https://webma il.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1016 Type : Information Message : [EXPR] The AS service is configured for this user in the Autodiscover response received from https://webma il.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1015 Type : Information Message : [EXPR] The OAB service is configured for this user in the Autodiscover response received from https://webm ail.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1014 Type : Information Message : [EXPR] The UM service is configured for this user in the Autodiscover response received from https://webma il.mitchellcotts.co.ke/Autodiscover/Autodiscover.xml. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1022 Type : Success Message : Autodiscover was tested successfully. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1104 Type : Error Message : The certificate for the URL https://hqs-cashub-01.mitchellcotts.local/Autodiscover/Autodiscover.xml is inc orrect. For SSL to work, the certificate needs to have a subject of hqs-cashub-01.mitchellcotts.local, but the subject that was found is webmail.mitchellcotts.co.ke. Consider correcting service discovery, or inst alling a correct SSL certificate. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1113 Type : Error Message : When contacting https://HQS-CASHUB-01.mitchellcotts.local:443/Autodiscover/Autodiscover.xml received the e rror The underlying connection was closed: An unexpected error occurred on a receive. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1113 Type : Error Message : When contacting https://HQS-CASHUB-01.mitchellcotts.local:443/Autodiscover/Autodiscover.xml received the e rror The read operation failed, see inner exception. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1113 Type : Error Message : When contacting https://HQS-CASHUB-01.mitchellcotts.local:443/Autodiscover/Autodiscover.xml received the e rror Object reference not set to an instance of an object. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1123 Type : Error Message : The Autodiscover service couldn't be contacted. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1024 Type : Success Message : [EXCH] Successfully contacted the AS service at https://webmail.mitchellcotts.co.ke/EWS/exchange.asmx. The elapsed time was 296 milliseconds. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1026 Type : Success Message : [EXCH] Successfully contacted the UM service at https://webmail.mitchellcotts.co.ke/EWS/exchange.asmx. The elapsed time was 31 milliseconds. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1124 Type : Success Message : [Server] Successfully contacted the AS service at https://hqs-cashub-01.mitchellcotts.local/ews/exchange.a smx. The elapsed time was 421 milliseconds. RunspaceId : 2b419683-083f-44ec-97e5-d93441ff5bda Id : 1126 Type : Success Message : [Server] Successfully contacted the UM service at https://hqs-cashub-01.mitchellcotts.local/ews/exchange.a smx. The elapsed time was 0 milliseconds.
    Tuesday, January 10, 2012 12:30 PM
  • The erros you have posted are bing caused by incorrect configuration for AutoDiscovery service.you need to configure AutoDiscovery correctly here are some good read up for you Autodiscover, DNS, Certificates, and what you need to knowhttp://www.shudnow.net/2008/11/18/autodiscover-dns-certificates-and-what-you-need-to-know/

    *****For SSL to work, the certificate needs to have a subject of hqs-cashub-01.mitchellcotts.local, but the subject that was found is
    webmail.mitchellcotts.co.ke. Consider correcting service discovery, or installing a correct SSL certificate. RunspaceId

    webmail.mitchellcotts.co.ke
    The certificate for the URL https://hqs-cashub-01.mitchellcotts.local/Autodiscover/Autodiscover.xmlis incorrect*****

    References

    White Paper: Exchange 2007 Autodiscover Service

    http://technet.microsoft.com/en-us/library/bb332063(EXCHG.80).aspx

    Configure Exchange Services for the Autodiscover Service

    http://technet.microsoft.com/en-us/library/bb201695.aspx

    Managing the Autodiscover Service

    http://technet.microsoft.com/en-us/library/aa995956.aspx

    Test Outlook Autodiscover Connectivity

    http://technet.microsoft.com/en-us/library/bb123573.aspx

    Configuration tips and common troubleshooting steps for multiple forest deployment of Autodiscover service

    http://blogs.technet.com/b/exchange/archive/2008/02/13/3404883.aspx

    ocd


    Oz Casey, Dedeal MCITP (EMA), MCITP (EA), MCITP (SA) Visit smtp25.blogspot.com Visit Telnet25.wordpress.com   This posting is provided AS-IS with no warranties or guarantees and confers no rights.
    Wednesday, January 11, 2012 6:57 PM