When I opened Outlook, it will prompt with username and password to logon to autodiscover.domain.com. I follow the steps from “Deploying F5 with MS Exchange Server 2010”.
If I changed the IP address for autodiscover.domain.com to point to one of the CAS server, outlook will open with no issue. But If I changed the IP address for autodiscover.domain.com to point to F5 VIP, outlook will prompt for username and password. Also, the “Test E-mail AutoConfiguration failed with error “Autoconfiguration was unable to determine your settings!”
Do you have a OneConnect and NTLM profile on the virtual server? If you’re not using SNAT the OneConnect profile should have a /32 source mask.
Else, you might try capturing tcpdumps for connections through LTM and direct to the CAS server to compare what’s happening when it fails with successes.
What’s the output of https://www.testexchangeconnectivity.com/ and the “Outlook Autodiscover” or “Exchange ActiveSync Autodiscover” tests? I’ve got a sneaking suspicion that you’ve got a certificate name mismatch somewhere; if so, this test will put some big 'ol bells-n-arrows on it.
This is a Microsoft-operated site; you should use it with a test account (it’ll tell you so). When the test is complete, click the “Expand All” dropdown at the top of the screen and look for any red “X” in a circle -- the ones down near the bottom probably describe your issue.
Joel brings up an excellent point - that site often exposes issues that are not easily visible to the naked eye. Also, have you made sure that the SSL certificates are the same on the CAS server and on the F5 device?
SSL certificates are the same on the CAS server and F5 device. I have no issue with the OWA, only Internal Outlook.
I ran https://www.testexchangeconnectivity.com and I don’t think it will help because the test is querying top-level domain based of email address. The headquarter forward all incoming mail to our site.
In my environment, whenever I use IP address in place of hostname I get prompted for authentication no matter whether I’m going direct to CAS or via the F5. This makes sense because the bare IP address in the URL wouldn’t be considered an IE “Trusted Site” so it wouldn’t attempt automatic NTLM authentication with it. It would prompt me to manually enter the authentication.
I’ve seen four main things go wrong with autodiscovery on Exchange 2010 -- the cert on the autodiscover site does not have the “autodiscover” name set as either a primary or SubjectAlternativeName, the cert for autodiscover is not able to be verified from a trust perspective (self-signed or unknown CA), the Outlook profile the wrong Authentication Type set for Outlook Anywhere connectivity, or the configured Redirect URL on the autodiscover site itself is incorrect. In your case, it sounds like when passing through the F5 VIP the system has some reason to believe that it can no longer do automatic windows integrated authentication -- this could occur as the result of a certificate mismatch or a failure to believe the site can be classified as trusted.
I have this same issue. I am using SNAT. Try disabling basic authentication on your autodiscover virtual directory. It should now work. However, I am having issues with mobile devices once this setting is disabled. It seems to use basic auth to start and then NTLM afterwords. I have also found this article:
Hate to bring up an old topic.. but I"m having the exact same problem. Accessing autodiscover via the VIP prompts for authentication, accessing it directly on the CAS box does not. I have also removed “Negotiate” as a provider as Michael pointed out. Any other ideas?
Josh, are you doing SSL offload? If so, make sure that the Autodiscover vdir is not requiring SSL. I have had that problem. Sometimes patching causes that setting to get re-enabled.
I was having the same issue,Ever time when i open Office Outlook it was asking for username and password,and it was prompting again when we kept the machine idle for some time.
I have installed the Certificate locally on the machine for testing and now it is not asking for the username and Password.
Is there any other suggestions for this issue.Can we offload the certificate in F5 to overcome this issue any ideas?
I have used the template to configure the VS in F5.Only RPC vs is configured.
Can you please elaborate on what exactly you did when you say you installed the certificate locally? Do you mean locally on the CAS server or on the client machine? What version of BigIP are you running and which template did you use?
Did you follow all the instructions in the Deployment Guide for 10.2.x from this link? There are some iRules you need to add to deal with Autodiscover issues in 10.2.x.