Exchange Server Forums
Forums |
Register |
Login |
My Profile |
Inbox |
RSS
|
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
|
Login | |
|
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 >
|
|
|
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!
|
|
|
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 |
|