• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Autodiscover Woes

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> General >> Autodiscover Woes Page: [1]
Login
Message << Older Topic   Newer Topic >>
Autodiscover Woes - 9.Feb.2008 7:19:07 PM   
jason331

 

Posts: 20
Joined: 23.Sep.2007
Status: offline
Autodiscover isn't working for Outlook 2007 clients. Here's a little info about my setup:

My Exchange 2007 SP1 environment is setup in a hosted configuration per GoldenDog's guide at: http://www.kortekservices.com/lyle/

I have two client access servers with Outlook Anywhere enabled and one clustered mailbox server (all have SP1 loaded). When I try to setup a test profile on my workstation using Outlook 2007 SP1, I get "An encrypted connection to your mail server is not available. Click Next to attempt using an unencrypted connection". This eventually fails even if I try using an unencrypted connection. I can setup a test profile successfully if I use my own Domain Admin account. No other accounts from any other hosted company work.

Since I am using a single SSL certificate assigned to my default website I setup an IIS redirect per http://technet.microsoft.com/en-us/library/bb332063.aspx

I enabled logging in Outlook and I see the following when I try to setup an Outlook 2007 profile using my domain admin account:
7980    110870843    02/09/08 16:11:15    Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml starting
7980    110870974    02/09/08 16:11:15    Autodiscover to https://mydomain.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
7980    110870974    02/09/08 16:11:15    Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
7980    110871044    02/09/08 16:11:16    Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
7980    110871054    02/09/08 16:11:16    Local autodiscover for mydomain.com starting
7980    110871054    02/09/08 16:11:16    Local autodiscover for mydomain.com FAILED (0x8004010F)
7980    110871054    02/09/08 16:11:16    Redirect check to http://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
7980    110873267    02/09/08 16:11:18    Autodiscover URL redirection to https://portal.mydomain.com/autodiscover/autodiscover.xml
7980    110873277    02/09/08 16:11:18    Autodiscover to https://portal.mydomain.com/autodiscover/autodiscover.xml starting
7980    110873627    02/09/08 16:11:18    Autodiscover XML Received
---BEGIN XML---
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <User>
      <DisplayName>Jason My Exchange Org</DisplayName>
      <LegacyDN>/o=My Exchange Org/ou=FIRST ADMINISTRATIVE GROUP/cn=RECIPIENTS/cn=JASON</LegacyDN>
      <DeploymentId>26aa5391-41a1-4a27-9f71-8e416b369e41</DeploymentId>
    </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <Type>EXCH</Type>
        <Server>EXCHANGE.mydomain.com</Server>
        <ServerDN>/o=My Exchange Org/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCHANGE</ServerDN>
        <ServerVersion>720180F0</ServerVersion>
        <MdbDN>/o=My Exchange Org/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCHANGE/cn=Microsoft Private MDB</MdbDN>
        <PublicFolderServer>EXCHANGE.mydomain.com</PublicFolderServer>
        <AD>server1.mydomain.com</AD>
        <ASUrl>https://portal.mydomain.com/EWS/Exchange.asmx</ASUrl>
        <EwsUrl>https://portal.mydomain.com/EWS/Exchange.asmx</EwsUrl>
        <OOFUrl>https://portal.mydomain.com/EWS/Exchange.asmx</OOFUrl>
        <UMUrl>https://portal.mydomain.com/UnifiedMessaging/Service.aspx</UMUrl>
        <OABUrl>https://portal.mydomain.com/OAB/6e3a1ff7-30b5-4e27-aa57-65f4e71be299/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>EXPR</Type>
        <Server>portal.mydomain.com</Server>
        <SSL>On</SSL>
        <AuthPackage>Basic</AuthPackage>
        <ASUrl>https://portal.mydomain.com/EWS/Exchange.asmx</ASUrl>
        <EwsUrl>https://portal.mydomain.com/EWS/Exchange.asmx</EwsUrl>
        <OOFUrl>https://portal.mydomain.com/EWS/Exchange.asmx</OOFUrl>
        <UMUrl>https://portal.mydomain.com/UnifiedMessaging/Service.aspx</UMUrl>
        <OABUrl>https://portal.mydomain.com/OAB/6e3a1ff7-30b5-4e27-aa57-65f4e71be299/</OABUrl>
      </Protocol>
      <Protocol>
        <Type>WEB</Type>
        <Internal>
          <OWAUrl AuthenticationMethod="Basic, Ntlm, WindowsIntegrated">https://server1.mydomain.com/owa</OWAUrl>
          <OWAUrl AuthenticationMethod="Basic, Ntlm, WindowsIntegrated">https://server5.mydomain.com/owa</OWAUrl>
          <Protocol>
            <Type>EXCH</Type>
            <ASUrl>https://portal.mydomain.com/EWS/Exchange.asmx</ASUrl>
          </Protocol>
        </Internal>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>
----END XML----
7980    110873677    02/09/08 16:11:18    Autodiscover to https://portal.mydomain.com/autodiscover/autodiscover.xml succeeded (0x00000000)
7980    110873677    02/09/08 16:11:18    Redirect check to http://autodiscover.mydomain.com/autodiscover/autodiscover.xml succeeded (0x00000000)

If I use any other account to attempt to setup an Outlook 2007 profile, I see this in the Outlook logs:
11268    110676884    02/09/08 16:08:01    Autodiscover to https://hosteddomain.com/autodiscover/autodiscover.xml starting
11268    110677125    02/09/08 16:08:02    Autodiscover to https://hosteddomain.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
11268    110677125    02/09/08 16:08:02    Autodiscover to https://autodiscover.hosteddomain.com/autodiscover/autodiscover.xml starting
11268    110677305    02/09/08 16:08:02    Autodiscover to https://autodiscover.hosteddomain.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
11268    110677305    02/09/08 16:08:02    Local autodiscover for hosteddomain.com starting
11268    110677305    02/09/08 16:08:02    Local autodiscover for hosteddomain.com FAILED (0x8004010F)
11268    110677305    02/09/08 16:08:02    Redirect check to http://autodiscover.hosteddomain.com/autodiscover/autodiscover.xml starting
11268    110677395    02/09/08 16:08:02    Autodiscover URL redirection to https://portal.mydomain.com/autodiscover/autodiscover.xml
11268    110677485    02/09/08 16:08:02    Autodiscover to https://portal.mydomain.com/autodiscover/autodiscover.xml starting
11268    110677906    02/09/08 16:08:02    Autodiscover XML Received
---BEGIN XML---
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response>
    <Error Time="16:08:05.4687500" Id="2444957604">
      <ErrorCode>500</ErrorCode>
      <Message>The e-mail address cannot be found.</Message>
      <DebugData />
    </Error>
  </Response>
</Autodiscover>
----END XML----
11268    110677946    02/09/08 16:08:02    Autodiscover to https://portal.mydomain.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
11268    110677946    02/09/08 16:08:02    Redirect check to http://autodiscover.hosteddomain.com/autodiscover/autodiscover.xml FAILED (0x800C8203)
11268    110677956    02/09/08 16:08:02    Srv Record lookup for hosteddomain.com starting
11268    110678126    02/09/08 16:08:03    Srv Record lookup for hosteddomain.com FAILED (0x8004010F)

Since my own domain admin account works, I'm sure this is a permissions problem. Any ideas where I can start looking?



< Message edited by jason331 -- 9.Feb.2008 7:20:29 PM >
Post #: 1
RE: Autodiscover Woes - 3.Sep.2008 4:43:52 AM   
atedja

 

Posts: 63
Joined: 14.Apr.2008
Status: offline
Jason,

how did you go with the Autodiscover problem ?

I've been struggling with this error since I deploy my Exchange Server 2007 and I've come accross to several sites for the resolution and workaround but it doesn't seems to be helpful anyway :-|, here's the list of the workaround for this Issue of Autodiscover.
 
1.       Adding "A record
http://www.123together.com/Support/Setup_Auto_Discover_Feature_for_Your_Domain_for_Outlook_2007.htm
http://technet.microsoft.com/en-us/library/cc411331(EXCHG.80).aspx
 
2.       Put Autodiscover.domain.com.au and servername.domain.com.au in Certificate SAN
http://forums.microsoft.com/technet/showpost.aspx?postid=2234047&siteid=17&sb=0&d=1&at=7&ft=11&tf=0&pageid=1
 
3.       Rebuilding email account, by deleting the OST and then recreating it. Or delete the current Outlook mail profile and creating it again from beginning.
http://www.123together.com/Support/error_0x8004010F_the_operation_failed_An_object_could_not_be_found.htm
 
4.       Proxy bypass for servername.itree.com.au
http://techrepublic.com.com/5208-6230-0.html?forumID=101&threadID=242986&messageID=2355292
 
5.       Selecting the correct OAB in EMS
http://support.microsoft.com/default.aspx/kb/905813
 
6.       Rebuilding OAB in EMS
http://kb.parallels.com/en/1587
 
7.       Adding XML debug override elements in web.config file then RESTART the server.
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3310929&SiteID=17
 
8.       Check the SSL port used by Autodiscover
http://www.eggheadcafe.com/software/aspnet/31768202/download-address-book-err.aspx
 
9.       Applying Exchange Server 2007 SP1 Update Rollup 2
 
another blog to read is Daniel GOldman's: http://blogs.msdn.com/dgoldman/search.aspx?q=0X8004010F&p=1
 
any other Idea or input would be GREATLY appreciated for all of Exchange Server 2007 user and Administrator as well.
 
Cheers,


< Message edited by atedja -- 3.Sep.2008 4:54:16 AM >


_____________________________

/* I Appreciate all kinds of response */

(in reply to jason331)
Post #: 2
RE: Autodiscover Woes - 3.Sep.2008 5:05:20 PM   
jason331

 

Posts: 20
Joined: 23.Sep.2007
Status: offline
atedja,

I have a hosted Exchange environment so my setup may be slightly different than most users. I got this working by using scenario 4 (Single certificate with Redirect) detailed in this article:

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

Basically, I have a certificate for my domain as secure.mydomain.com installed on my CAS and the A record pointing to one particular static IP. I then setup another virtual website on the same CAS and had that website listen externally on a second static IP with the host header of autodiscover.mydomain.com and the appropriate external A record. The article talks about how to do IIS redirection, which should be followed very closely. I created an "AutoDiscover" folder in that second website and created a blank text file called AutoDiscover.xml. I then used IIS redirection to point to the correct URL under secure.mydomain.com (https://secure.mydomain.com/autodiscover/autodiscover.xml). I then have my hosted Exchange customers add a CNAME in their own domain to point autodiscover.customerdomain.com to autodiscover.mydomain.com. In other words, when Outlook tries to go to http://autodiscover.customerdomain.com/autodiscover/autodiscover.xml it gets a 302 HTTP redirect from the secondary IIS virtual website I setup to https://secure.mydomain.com/autodiscover/autodiscover.xml.

The article mentioned above talks about this in more detail. Feel free to reply with questions or comments.

Thanks!

(in reply to jason331)
Post #: 3

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> General >> Autodiscover Woes Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter