Exchange Server 2007 - another prompt question
Ok, environment is all Outlook 2007 clients, Exchange 2007 Server on a Windows 2003 R2 Server, ISA 2006 also on a Windows 2003 R2 Server.
On loading, the Outlook 2007 clients are prompted for their credentials in a domain environment. If they cancel this prompt, or login to it, they are able to receive e-mail (i.e. the prompt is useless and has no bearing on their ability to send/receive emails).
I've tested creation of a new profile and unchecked the Outlook Anywhere box to test if OA is to blame, and it has the same result.
Auto setup of e-mail works fine (i.e. fresh client automatically configures based on domain credentials, without problems).
We are using a wildcard cert for the Exchange web services, but have no issues and no certificate warnings.
Any ideas what else to troubleshoot or try to get this narrowed down?
Thanks for any pointers.
March 2nd, 2011 10:49am
Thanks for the quick reply, I'm willing to get an alternate certificate, but it has been working fine with a wildcard up until recently when something appears to have changed.
The Connection Status is connected via RPC (TCP/IP) three times to the exchange server and once to the domain controller (total of 4 connections, 2xMAIL,1xPublic Folders, and the Domain Controller is 1x Directory).
Autodiscovery Results:
Redirect URL: https://webmail.mydomain.com/owa
Protocol: Exchange RPC
Server: exchange.mydomain.com
Login Name: Me
Availability Service URL: https://exchange.mydomain.com/EWS/Exchange.asmx
OOF URL: https://exchange.mydomain.com/EWS/Exchange.asmx
OAB URL: http://exchange.mydomain.com/OAB/crazy-long-numbered-directory/
Unified Message Service URL: https://exchange.mydomain.com/UnifiedMessaging/Service.asmx
Auth Package: Unspecified
Protocol: Exchange HTTP
Server: webmail.mydomain.com
Login Name: Me
SSL: Yes
Mutual Authentication: Yes
Auth Package: Basic
Certificate Principal Name: msstd:webmail.mydomain.com
The Autodiscovery test log displays as this:
++++++++++++++++++++++
AUTODISCOVER GET SETTINGS BEGIN
LegacyDN=
SMTP=me@mydomain.com
Attempting URL https://webmail.mydomain.com/autodiscover/autodiscover.xml found through SCP
Autodiscover to https://webmail.mydomain.com/autodiscover/autodiscover.xml starting
Autodiscover to https://webmail.mydomain.com/autodiscover/autodiscover.xml FAILED (0x800C8204)
Autodiscover URL redirection to https://webmail.mydomain.com/owa
Autodiscover request completed with http status code 500
Autodiscover URL redirection to https://webmail.mydomain.com/owa FAILED (0x80004005)
Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml starting
Autodiscover to https://autodiscover.mydomain.com/autodiscover/autodiscover.xml succeeded (0x00000000)
AUTODISCOVER GET SETTINGS END
-----------------------
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2011 2:20pm
I should also note, that Outlook Web Access via ISA, Macintosh Office Outlook 2011 and our Blackberry Enterprise services are all working fine without prompting.
It is only Outlook 2007 that suddenly is prompting for credentials while logging in.
The prompt also says "webmail.mydomain.com" at the top of it, then followed by the standard username/password (populating the username with domain\username) instead of exchange.mydomain.com, which I thought was interesting.
Thanks again.
March 2nd, 2011 4:18pm
The URL in the first line resolves to:
https://webmail.mydomain.com/CookieAuth.dll?GetLogon?curl=Z2Fowa&reason=0&formdir=1
Which is the login page for the Outlook Web access webpage.
Would the redirect be located on the ISA server or the Exchange server? Apologies for basic questions and that "it's worked for months", but I'm cleaning up a mess left by someone else and trying to get it done correctly this time. I appreciate
your efforts with assisting me.
The internal server name (i.e. exchange.mydomain.com) is a host name that matches the wildcard cert (i.e. *.mydomain.com).
So should I update the autodiscoverURI to exchange.mydomain.com via the Set-ClientAccessServer command?
Get-ClientAccessServer results in the following:
Name : EXCHANGE
OutlookAnywhereEnabled : True
AutoDiscoverServiceCN : EXCHANGE
AutoDiscoverServiceClassName : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri : https://webmail.mydomain.com/autodiscover/autodiscover.xml
AutoDiscoverServiceGuid : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope : {Default-First-Site-Name}
IsValid : True
OriginatingServer : REMOTE.mydomain.com
ExchangeVersion : 0.1 (8.0.535.0)
DistinguishedName : CN=EXCHANGE,CN=Servers,CN=Exchange Administrat
ive Group,CN=Administrative
Groups,CN=mydomain,CN=Microsoft Exchange,C
N=Services,CN=Configuration,DC=mydomain,DC
=com
Identity : EXCHANGE
Guid : 063bb3de-6e1b-473c-96bb-31f9adc44244
ObjectCategory : mydomain.com/Configuration/Schema/ms-Exch-Exchange-Server
ObjectClass : {top, server, msExchExchangeServer}
WhenChanged : 7/16/2009 3:08:11 PM
WhenCreated : 7/16/2009 3:08:11 PM
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2011 4:27pm
Where does it resolve to though?
Does it resolve to the ISA server or to the Exchange server?
If it resolves to the ISA server then that is the problem. Internally the autodiscover URI should resolve to an Exchange server only.
Change the AutoDiscoverServiceInternalUri on set-clientaccessserver to the Exchange server's FQDN and then run IISRESET.
Simon.Simon Butler, Exchange MVP
Blog |
Exchange Resources | In the UK?
Hire Me.
March 2nd, 2011 4:36pm
According to DNS records, webmail.mydomain.com is resolving to the ISA server for front end relay of the OWA access.
I'll reset to the FQDN of the Exchange server and reset IIS. Does it make a difference that manually typing in:
https://EXCHANGE.mydomain.com/autodiscover/autodiscover.xml returns with a credential prompt and (once authenticated) an "Invalid Request Error 600" ?
Making changes now - thank you again.
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2011 4:40pm
The error when you browse to the page is correct, because your browser isn't Outlook.
Simon.Simon Butler, Exchange MVP
Blog |
Exchange Resources | In the UK?
Hire Me.
March 2nd, 2011 4:47pm
Worked like a charm, you are the best!
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2011 4:48pm