Thursday, December 19, 2013

EWS Not Deployed on the Lync

Here is my check list:

1- Check EWS URLs in the Lync client configuration

2- Manual access EWS URLs

3- Check if EWS enabled:
    Get-OrganizationConfig

4- If not Enable it: 
    Set-OrganizationConfig -EWS Enabled $true -EWSApplicationAccessPolicy EnableBlockList

5- Check the Virtual directory if exist:
     Get-WebServicesVirtualDirectory

6- If there is no Virtual directory add it:
     Set-WebServiceVirtualDirectory -Server <CAS Server Name> -InternalURL  <http://CASFQDN/EWS/Exchange.aspx> -External <http://CASFQDN/EWS/Wxchsnge.aspx>
-BasicAuthentication $true

7- Make Sure EWS Virtual Directory have "anonymous" & "Windows Integrated" Authentication is selected from IIS manager

8- Check Auto Discover SVR record
_autodiscover._tcp.domain.com. @ SRV 0 0 443 mail.domain.com

9- Check Autodiscovery Virtual Directory:
    Get-AutodiscoverVirtualDirectory
10- Setup the internal and external URL, including HTTPS and Basic Authentication
Set-AutodiscoverVirtualDirectory -Identity 'autodiscover (default Web site)' -ExternalURL 'https://mail.domain.name/autodiscover/autodiscover.xml' -InternalURL 'https://mail.domain.name/autodiscover/autodiscover.xml' -BasicAuthentication $true