Question : Trying to get autodiscover service to work from outside the network

I am trying to get the autodiscover service to work from the Internet. This never really worked correctly for configuring mobile devices. I thought all I have to do was put a DNS entry in our Public DNS server called autodiscover.domain.com and point it to my CAS server. I guess not.
I ran a test using the testexchangeconnectivity site. It uses multple methods to contact the autodiscover service. The method I am intereted in is the URL of autodiscover followed by our Domain name. This test seemed to run well up to a certain point. I don't understand what the error is and I need to get this figured out quickly. Below are the results:

Attempting to test potential AutoDiscover URL https://autodiscover.domain.comAutoDiscover/AutoDiscover.xml
  Failed testing this potential AutoDiscover URL
   Test Steps
   Attempting to resolve the host name autodiscover.domain.com in DNS.
  Host successfully resolved
   Additional Details
  IP(s) returned: X.X.X.X (I blanked this out but it was correct)  
 
 Testing TCP Port 443 on host autodiscover.domain.com to ensure it is listening and open.
  The port was opened successfully.
 Testing SSL Certificate for validity.
  The certificate passed all validation requirements.
   Test Steps
   Validating certificate name
  Successfully validated the certificate name
   Additional Details
  Found hostname autodiscover.domain.com in Certificate Subject Alternative Name entry  
 
 Validating certificate trust
  The test passed with some warnings encountered. Please expand additional details.
   Additional Details
  Only able to build certificate chain when using the Root Certificate Update functionality from Windows Update. Your server may not be properly configured to send down the required intermediate certificates to complete the chain. Consult the certificate installation instructions or FAQ's from your Certificate Authority for more information.  
 
 Testing certificate date to ensure validity
  Date Validation passed. The certificate is not expired.
   Additional Details
  Certificate is valid: NotBefore = 5/26/2009 7:38:37 PM, NotAfter = 7/10/2011 8:08:35 PM"  
 
 Attempting to send AutoDiscover POST request to potential autodiscover URLs.
  Failed to obtain AutoDiscover settings when sending AutoDiscover POST request.
   Test Steps
   Attempting to Retrieve XML AutoDiscover Response from url https://autodiscover.domain.com/AutoDiscover/AutoDiscover.xml for user [email protected]om
 
  Failed to obtain AutoDiscover XML response.
   Additional Details
  None of the Expected XML Elements were found in the XML Response  
 
I guess the part I am concerned with is "Failed to obtain AutoDiscover settings when sending AutoDiscover POST request."

I don't know what it's talking about or even where to start looking. OWA, ActiveSync works just fine. I would like the phones to use the autodiscover so users don't have to type everything in. Also, we plan on using RPC over HTTPS and I think autodiscover is a big part of this.

Do I need to install the RPC over HTTPS Proxy service first? I can supply any information on how we are set up. Just ask.

 
 
 
 

Answer : Trying to get autodiscover service to work from outside the network

set-activesyncvirtualdirectory -activesyncserver https://servername.domain.com -externalurl https://servername.domain.com/Microsoft-Server-ActiveSync
Random Solutions  
 
programming4us programming4us