Share via


Exchange Web Services was not showing in Lync configuration information

 Issue: Exchange Web Services was not showing in Lync configuration information.

 Error message: EWS URL not displayed

 Recently came across one tricky issue on Lync Server 2010 (same in 2013).

 Exchange Wed Services (EWS) URL was correctly updated on Exchange server. However in Lync Client it was not reflecting.

 It shows error message.

Understanding the issue:

 You can verify EWS URL in exchange server via following Cmdlet:

 *Get-WebServicesVirtualDirectory | fl name,externalurl *

 Result -will be complete EWS URL.

Once you have this URL set, you can verify that it is accessible by viewing it via your browser of choice. If it is accepting connections and servicing Autodiscover requests, you will get an XML. Forbidden 401 errors however that are expected. This means all is well. If you do not get this response, check the security settings on the virtual directory.

Later you check on Lync client: Ctrl+ Right click on Lync Icon. Select Configuration Information there you will see EWS URL.

 If EWS URL not found and it show EWS URL not displayed. Then you need to following things to resolve issue.

Resolution:

Two Resolutions: Either add Autodiscover URL in SAN certificate and create ‘A’ records for the same or create SRV record.

 Option 1: Add to SAN certificate.

  1.  Login to Lync server > open RUN > type MMC > Click on File ‘Add/Remove Snap-in’
  2. Add ‘Certificate’ and select computer account > click OK
  3. Certificate will be added / display and then expand the ‘Personal’ > click on Certificate
  4. You will see your SAN certificate and just double click on Certificate > Details > you will see all URL including Autodiscover URL
  5. If Autodiscover URL not there then you need order SAN certificate again with Autodiscover URL
  6. After adding Autodiscover URL, create ‘A’ record for the same. Like Autodiscover.sipdomain.com and your director server IP address
  7. In this case SAN certificate was correct however DNS record was not available
  8.  After DNA record addition, we were able to see the EWS in Lync

Option 2:

 1. Adding a SRV record pointing to the Exchange CAS for Autoconfigure in the other domains.