Exchange 2010 - Autodiscover Issue

Hi all. I am having this issues with Exchange 2010. I purchased a 5 domain SSL from GoDaddy and imported it into Exchange. I configured Outlook Anywhere in Exchange as well.

Here is my error from testexchangeconnectivity.com. This is for a Outlook Anywhere test using Autodiscover.
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.domainname.com/AutoDiscover/AutoDiscover.xml for user administrator@domainname.com
  Failed to obtain AutoDiscover XML response.
   Additional Details
  A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown  



Here is what I get when I run test-outlookwebservices |fl

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


RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1019
Type       : Information
Message    : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://mail.domainname.com/Autodiscover/Autodiscover.xml.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1004
Type       : Error
Message    : The certificate for the URL https://mail.domainname.com/Autodiscover/Autodiscover.xml is incorrect. For SSL to work, the certificate needs to have a subject of mail.domainname.com, instead the subject found is. Consider correcting service discovery, or installing a correct SSL certificate.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1005
Type       : Warning
Message    : Error "NotTimeValid:A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file." was reported when accessing https://mail.domainname.com/Autodiscover/Autodiscover.xml.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1013
Type       : Error
Message    : When contacting https://mail.domainname.com/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (404) Not Found.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1023
Type       : Error
Message    : The Autodiscover service couldn't be contacted.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1113
Type       : Error
Message    : When contacting https://CSGEX01.cook.local:443/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (500) Internal Server Error.

RunspaceId : 820b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1123
Type       : Error
Message    : The Autodiscover service couldn't be contacted.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1024
Type       : Success
Message    : [EXCH] Successfully contacted the AS service at https://csgex01.cook.local/EWS/Exchange.asmx. The elapsed time was 172 milliseconds.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1026
Type       : Success
Message    : [EXCH] Successfully contacted the UM service at https://csgex01.cook.local/EWS/Exchange.asmx. The elapsed time was 58 milliseconds.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1013
Type       : Error
Message    : When contacting https://mail.domainname.com/ews/exchange.asmx received the error The request failed with HTTP status 404: Not Found.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1025
Type       : Error
Message    : [EXPR] Error contacting the AS service at https://mail.domainname.com/ews/exchange.asmx. Elapsed time was 230 milliseconds.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1013
Type       : Error
Message    : When contacting https://mail.domainname.com/ews/exchange.asmx received the error The remote server returned an error: (404) Not Found.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1027
Type       : Error
Message    : [EXPR] Error contacting the UM service at https://mail.domainname.com/ews/exchange.asmx. Elapsed time was 182 milliseconds.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1124
Type       : Success
Message    : [Server] Successfully contacted the AS service at https://csgex01.cook.local/ews/exchange.asmx. The elapsed time was 68 milliseconds.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1126
Type       : Success
Message    : [Server] Successfully contacted the UM service at https://csgex01.cook.local/ews/exchange.asmx. The elapsed time was 51 milliseconds.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1013
Type       : Error
Message    : When contacting https://mail.domainname.com/rpc received the error The remote server returned an error: (404) Not Found.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1029
Type       : Error
Message    : [EXPR] Error contacting the RPC/HTTP service at https://mail.domainname.com/rpc. Elapsed time was 174 milliseconds.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1113
Type       : Error
Message    : When contacting https://csgex01.cook.local/rpc received the error The remote server returned an error: (503) Server Unavailable.

RunspaceId : 8260b5bf-c381-4b6f-b2aa-f7d8c80d7525
Id         : 1129
Type       : Error Message    : [EXPR] Error contacting the RPC/HTTP service at https://csgex01.cook.local/rpc. Elapsed time was 24 milliseconds.



 
 
 
 
LVL 2
LeviDailyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lastlostlastCommented:
The test is failing only for https://mail.domainname.com/rpc which means that is is failing for Outlook Anywhere (RPC over HTTPS) availability.

It shows that you have enabled Outlook Anywhere on the Exchange 2010 server but have you also installed the RPC over HTTP proxy component? (You can verify this by checking if you have a RPC virtual directory in the IIS manager under Default Web Site. It will not be present if you have not installed the RPC over HTTP component)

- You can install this by running the command "ServerManagerCmd -i RPC-over-HTTP-proxy" from the command prompt.

Note: You will need to configure Outlook Anywhere with Autodiscover for this test to pass completely. It seems to pass all the autodiscover tests for internal outlook clients.

Le us know if you have any further queries.
0
LeviDailyAuthor Commented:
Thank you. Yes it is already installed, I installed it "AFTER" I installed Exchange 2010 and realized that it needed to be installed.  Is that a problem?
0
LeviDailyAuthor Commented:
How do I configure Outlook Anywhere with Autodiscover?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

lastlostlastCommented:
"Test-OutlookWebServices" verifies the following:
Availability service
Outlook Anywhere
Offline address book
Unified Messaging

You need to configure Outlook Anywhere with Autodiscover only if you have remote Outlook users. If not then no use for it.

BTW what is the issue you are facing? Is this test your only concern or any other issues in Outlook?
0
LeviDailyAuthor Commented:
I do have remote outlook users. Setting up Outlook outside the office is not working. What should my next step be?
0
lastlostlastCommented:
Verify the settings if it is not working.

Also have you configured Autodiscover service to work externally as well? If not then this test will fail again even with remote Outlook clients being able to connect.

I would suggest you run a RPC over HTTPS test at https://testexchangeconnectivity.com and post the results.
P.S: There are 2 tests on this site. 1. Outlook Anywhere with Autodiscover and 2. Outlook Anywhere

I would suggest you run the 2nd test if you are unsure about Autodiscover working externally or not.

Reference articles:
White Paper: Exchange 2007 Autodiscover Service
http://technet.microsoft.com/en-us/library/bb332063(EXCHG.80).aspx

Since you have a 5 name certificate (SAN) you can follow Scenario 1 mentioned in this paper i.e. create a Host 'A' record in the Public DNS for 'Autodiscover.urdomain.com' and point it to your CAS server.

Note: This article says 2007 but is applicable for Autodiscover in Exchange 2010 as well. Nothing has changed. :-)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LeviDailyAuthor Commented:
Ok. Autodiscover DNS record is setup. When I am running the test through testexchangeconnectivity.com, it even passes autodiscover and ssl setup. here is the test below.


Testing RPC/HTTP connectivity
       RPC/HTTP test failed
              Test Steps
              Attempting to resolve the host name mail.domainname.com in DNS.
       Host successfully resolved
              Additional Details

       Testing TCP Port 443 on host mail.domainname.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

       Validating certificate trust
       The test passed with some warnings encountered. Please expand additional details.
              Additional Details

       Testing certificate date to ensure validity
       Date Validation passed. The certificate is not expired.
              Additional Details

       Testing Http Authentication Methods for URL https://mail.domainname.com/rpc/rpcproxy.dll
       Http Authentication Methods are correct
              Additional Details

       Testing SSL mutual authentication with RPC Proxy server
       Successfully verified Mutual Authentication
              Additional Details

       Attempting to Ping RPC Proxy mail.domainname.com
       Cannot ping RPC Proxy
              Additional Details
       A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
0
LeviDailyAuthor Commented:
Thanks for the help,
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.