¿my primary domain is domain1.com, which is used for both SMTP and SIP address.
everything in Lync has been working ok, including MAPI and EWS connection to Exchange.
Long story short, we have few users need to use different SMTP address as primary (domain2.com)
Since it's only a few users, I don't like do too much changes in system such as introducing new domain, etc.
These users have primary SMTP address of email@example.com, secondary SMTP firstname.lastname@example.org, and SIP address email@example.com.
All good, except I cannot get the EWS to work, getting error 'EWS Not Deployed' on Configufation info.
Have tried quite a few things including DisableEmailComparison check on client side (via registry key) and also server side (using Set-CsClientPolicy).
Since everything is already working for other "normal" users who has matching SMTP and SIP address, I don't think solution like "Set-organizationConfig -EwsEnabled $true - EwsApplicationAccessPolicy
EnforceBlockList" will help.
I also created a host file to point autodiscover.domain2.com to the Exchange server, and can open https://autodiscover.domain2.com/autodiscover/autodiscover.xml
, which gives certificate error prompt because we don't have cert installed on the exchange virtual directory for domain2.com
Saying that, I guess configuring autodiscovery SRV record (as suggested on many other threads) won't help.
From the client log .ETL file, I can see this:
Request failed. Server=autodiscover.domain
rCert failed with 0x80072f06</O_TRC>
R>Server is autodiscover.domain2.com not trusted, hr=0x80072f06.</O_TRC>
Looks like the certificate is what causing the issue?
I can think of 2 possible solutins:
a. forcing Exchange autodiscover and EWS to support http
b. create new virtual directory on Exchange for domain2, and have cert installed.
However, I tried not to change anything on the Exchange side. Since this is only 3-4 users we are talking about, I don't mind if I have to manually configure something on the client side.
Can you think of any other solution or work around? Or please let me know if my analysis above is incorrect and I may have missed something.