Unable to Autodiscover exchange server

Here is my situation, I am unable to get the Autodiscover to work on my Exchange 2010 server.  I have installed my 2003 exchnage server certificate on my 2010 server but for some unknown reason I can get this work.  I ran this command on the Exchange server:

[PS] C:\>$cred=Get-Credential some-company\ktest
[PS] C:\>Test-OutlookConnectivity -Protocol:http -Identity ktest -MailboxCredential $cred -verbose

And I get this, it is erroring out, any ideas why?  What should I be looking for?


VERBOSE: [18:07:38.327 GMT] Test-OutlookConnectivity : Active Directory session settings for 'Test-OutlookConnectivity'
 are: View Entire Forest: 'False', Default Scope: 'some-company.com', Configuration Domain Controller:
'prdc1.some-company.com', Preferred Global Catalog: 'DRDC1.some-company.com', Preferred Domain Controllers: '{
DRDC1.some-company.com }'
VERBOSE: [18:07:38.327 GMT] Test-OutlookConnectivity : Runspace context: Executing user:
some-company.com/Users/Administrator, Executing user organization: , Current organization: , RBAC-enabled: Enabled.
VERBOSE: [18:07:38.327 GMT] Test-OutlookConnectivity : Beginning processing &
VERBOSE: [18:07:38.327 GMT] Test-OutlookConnectivity : Instantiating handler with index 0 for cmdlet extension agent
"Admin Audit Log Agent".
VERBOSE: [18:07:38.327 GMT] Test-OutlookConnectivity : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient
Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient
Scope(s): {}, Exclusive Configuration Scope(s): {} }
VERBOSE: [18:07:38.374 GMT] Test-OutlookConnectivity : Resolved server.  Server Name = 'EX02', Server FQDN=
'ex02.some-company.com'
VERBOSE: Target Mailbox = 'ktest'
VERBOSE: [18:07:38.374 GMT] Test-OutlookConnectivity : Resolved current organization: .
VERBOSE: [18:07:38.390 GMT] Test-OutlookConnectivity : Mailbox = 'ktest', Owner = '/o=Some Company/ou=First
Administrative Group/cn=Recipients/cn=ktest'
VERBOSE: [18:07:38.390 GMT] Test-OutlookConnectivity : SMTP address for Autodiscover request = 'ktest@some-company.com'
VERBOSE: [18:07:38.421 GMT] Test-OutlookConnectivity : When contacting
https://ex02.some-company.com/Autodiscover/Autodiscover.xml received the error The underlying connection was closed: An
unexpected error occurred on a send.
VERBOSE: [18:07:38.421 GMT] Test-OutlookConnectivity : When contacting
https://ex02.some-company.com/Autodiscover/Autodiscover.xml received the error Unable to read data from the transport
connection: An existing connection was forcibly closed by the remote host.
VERBOSE: [18:07:38.421 GMT] Test-OutlookConnectivity : When contacting
https://ex02.some-company.com/Autodiscover/Autodiscover.xml received the error An existing connection was forcibly
closed by the remote host
VERBOSE: [18:07:38.421 GMT] Test-OutlookConnectivity : <?xml version="1.0"?>
<Autodiscover xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:nil="true" xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006" />

ClientAccessServer   ServiceEndpoint                               Scenario                            Result  Latency
                                                                                                                  (MS)
------------------   ---------------                               --------                            ------  -------
ex02.some-company.com                                               Autodiscover: Web service request.  Failure   -1.00
VERBOSE: [18:07:38.421 GMT] Test-OutlookConnectivity : Admin Audit Log: Entered Handler:OnComplete.
The cmdlet fails to find all the server information through pinging service providers or other topology discovery insid
e the domain. The cmdlet cannot continue. TopologyDiscoverMode = 'UseAutodiscover, UseAddressbook'.
    + CategoryInfo          : OperationStopped: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
   OutlookConnectivity], TopologyDiscoverException
    + FullyQualifiedErrorId : 228BA80D,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask

VERBOSE: [18:07:38.437 GMT] Test-OutlookConnectivity : Ending processing &
FundFireAsked:
Who is Participating?
 
FundFireConnect With a Mentor Author Commented:
I called Microsoft.  There were two things that they did to solve this issue.  One is that the tech enabled   Anonymous Authenticatoin in EWS setting under IIS.  Also in Binding in IIS he removed Autodiscover entry, he said we do not need it.
0
 
5g6tdcv4Commented:
try rebuilding virtual directories, then re-run connectivity test


Remove-AutodiscoverVirtualDirectory -Identity servername\autodiscover
Remove-WebServicesVirtualDirectory -Identity servername\EWS

New-WebServicesVirtualDirectory -WebSiteName "Default Web Site" -ExternalUrl "https://www.yourdomainname.com/webservices.aspx"
New-AutodiscoverVirtualDirectory -WebSite

You can also do it through the exchange management console
0
 
FundFireAuthor Commented:
I did that few times without any success.  By the way I do not know this make a difference or not.  our ssl is a wild card and – not self signed.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
FundFireAuthor Commented:
By that I mean I test fails after I removed the Autodiscover virtual directory.
0
 
5g6tdcv4Commented:
if you assign all services to the default exchange cert that was created when you installed exchange does it work?
0
 
FundFireAuthor Commented:
How do I do that?  Can you provide instructions?

Thanks
0
 
5g6tdcv4Commented:
open exchange management console select server config, then in the right hand pane you should see the certificates. look at the certs by issuer name, and select the one issued by your server, then just assign IIS services to that certificate.
did you install your wildcard using IIS?, as you need to use either EMC or EMS
0
 
FundFireAuthor Commented:
I have 3 exchange servers
One is Hub, Mailbox
two is Client Access
three Mailbox (for public folder)

Right now only IIS is assigned to the certificate on the second server.  should I assign IMPA, POP, SMTP, UM to it to all servers?  Is that what you are recommending.
0
 
5g6tdcv4Commented:
First run test-outlookwebservices > res.txt and post file here
0
 
FundFireAuthor Commented:
0
 
desiredforsomeCommented:
did you add a dns record on your dns server try a SRV record

_autodiscovery _tcp 443 goes to your mail server.
0
 
FundFireAuthor Commented:
Please see the ticket.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.