Solved

Unable to Autodiscover exchange server

Posted on 2011-09-23
12
3,043 Views
Last Modified: 2013-02-26
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 &
0
Comment
Question by:FundFire
  • 7
  • 4
12 Comments
 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36589128
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
 

Author Comment

by:FundFire
ID: 36589385
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
 

Author Comment

by:FundFire
ID: 36589391
By that I mean I test fails after I removed the Autodiscover virtual directory.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36589473
if you assign all services to the default exchange cert that was created when you installed exchange does it work?
0
 

Author Comment

by:FundFire
ID: 36589483
How do I do that?  Can you provide instructions?

Thanks
0
 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36589507
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
 

Author Comment

by:FundFire
ID: 36589761
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
 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36589813
First run test-outlookwebservices > res.txt and post file here
0
 

Author Comment

by:FundFire
ID: 36589848
0
 

Expert Comment

by:desiredforsome
ID: 36713675
did you add a dns record on your dns server try a SRV record

_autodiscovery _tcp 443 goes to your mail server.
0
 

Accepted Solution

by:
FundFire earned 0 total points
ID: 36716490
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
 

Author Closing Comment

by:FundFire
ID: 36954288
Please see the ticket.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question