Lync 2010 and EWS followup
This is a followup to this post.
Turns out that Outlook doesn’t really like autodiscover through SRV records and proceeds to ask the user for authentication when this happens. This is often not a desireable situation.
The other option seemed to be to add names for autodiscover.domain.com for each of the SMTP domains to the certificate on the CAS. We tried this as well, but in this configuration the Lync client started asking about trust of the server. A bit of searching led me to this post by Jens Trier Rasmussen that explains why.
I was not able to find any place to add trusted servers to Lyncs trusted server list, but for Outlook i could, so the solution was to revert to SRV records, and add this regkey to the machines:
[code]
Office 2007: HKCUSoftwareMicrosoftOffice12.0OutlookAutoDiscoverRedirectServers
Office 2010: HKCUSoftwareMicrosoftOffice14.0OutlookAutoDiscoverRedirectServers
[/code]
add the CAS server FQDN as the value name of a key with value type REG_SZ and empty value data.
This tells Outlook to always trust this server.