WebSearchOnly for the Lync Address Book 5

WebSearchOnly is an option that was introduced in Lync 2010 and is still available in Lync 2013. Although it is a great option, I’ve noticed it is not often used in Lync deployments. But why would you? To know the advantages of this option, first let’s look at what it does.

What does WebSearchOnly do?

WebSearchOnly is a value for the AddressBookAvailability option that can be found under the Lync Client Policy and is applied to the client via in-band provisioning. The AddressBookAvailability indicates how users are allowed to access information in the Lync Address Book server.

That is, by using the ABWQ (Address Book Web Query service) and/or by downloading a copy of the Address Book to their local computer. The process of creating the address book and getting it to the client is described in the full artical about the Lync Address Book.

The AddressBookAvailability has three available values:

  1. WebSearchAndFileDownload
    This is the default setting. This means that the Lync client will download the Address Book files locally and will first look in the local files to search. If that search is not successful, the ABWQ is used.
  2. WebSearchOnly
    This setting determines that clients cannot download the Address Book files locally and will only use the ABWQ when searching for contacts. Each search for a contact is an actual (https) web query to the Lync Front-End server(s).
  3. FileDownloadOnly
    When set to this value, only the local Address Book files are used.

Although this setting applies to clients, not all clients will use this setting. Only the full Lync 2010 or Lync 2013 desktop client will use this setting. Other clients, like the Lync Mobile client, Lync Windows App and Lync Phone Edition, will already only leverage the ABWQ.

Advantages of WebSearchOnly

So why use this WebSearchOnly value and not use the default WebSearchAndFileDownload value?

Ever heard a complaint from your users that the title or name when searching for a contact is not up-to-date? This is often (not always) caused by the Address Book files locally on the client being out-of-sync with the Address Book on the server. When searching only via the ABWQ, your search list is always as up-to-date as possible (only dependent on synchronization with Active Directory).

Another major advantage is the actual download of the Address Book files. In a small Lync deployment, this might not have any impact as the files are not that large, but in very large deployments the Address Book download can cause serious issues. For example, when you have limited bandwidth available. In a recent deployment I worked with an address book that had about 300K of contacts and was about 35 Mb compressed (75 Mb uncompressed). When you have 25,000 users on a pool connected via LAN’s and WAN’s and they all download the files you can imagine the network impact. The network impact when setting the value to WebSearchOnly is minimal, as it is only HTTPS traffic. The server impact (CPU) is also minimal, if your servers are sized properly (as per Microsoft recommendations).

Disadvantages of WebSearchOnly

The major disadvantage with this option in the past, was an issue in the scenario when Lync display names are in the last name, first name format. In this case there was an issue with finding someone when doing a Lync search. For example, when searching for my name:

  • When typing “Hans” you would find you whether you are “Hans Sleurink” or “Sleurink, Hans
  • When typing “Hans S” with Address Book web query the contact would not be found, but with the downloaded address book it would.

A (non-supported) workaround for this issue was already mentioned. I noticed that this disadvantage seems to be no longer present in Lync 2013 and that when searching for “Hans S” with only the ABWQ and the Lync display name in the  last name, first name format gives the correct search results.

Set WebSearchOnly value

To configure the setting for the AddressBookAvailability, use the following Lync cmdlet. This example sets the global Lync client policy. Always make sure you test this option in a user-scoped policy before changing the global Lync client policy.

# Set the global Client Policy
Set-CsClientPolicy -Identity global -AddressBookAvailability WebSearchOnly

Incoming search terms:

  • skype for business server hide number from address book
  • skype for business filedownload vs websearch
  • skype for business online address book WebSearchOnly
  • Skype for Business Server 2015 AddressBookAvailability WebSearch only?
  • address book websearchonly
  • skype for business web address
  • skype for business web query only search not working
  • skype for business websearch vs file download
  • skype for busness- how to check the addressbook web query timeframe
  • skype client force websearchonly

Hans Sleurink

Hans Sleurink works as a Senior Technical Consultant at VodafoneZiggo in the Netherlands where he designs and deploys Microsoft Unified Communications solutions . His main focus is on, but not limited to, Skype for Business / Lync including Enterprise Voice, Anywhere365, AudioCodes, KEMP, Exchange, Office 365, Active Directory and other UC related topics.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle Plus

5 thoughts on “WebSearchOnly for the Lync Address Book

  1. Pingback: NeWay Technologies – Weekly Newsletter #124 – December 4, 2014 | NeWay

  2. Pingback: NeWay Technologies – Weekly Newsletter #124 – December 5, 2014 | NeWay

  3. Reply Donavan Schaper Sep 16,2015 11:50

    Brilliant!

    This link saved my lync!!

    Good work Sir!

  4. Reply Muhammad Sufian Dec 30,2015 08:21

    Hi Hans,
    Regarding WebSearchOnly, how the search result being populated?
    Is it alphabetically or random result will do?
    Example: There are a lots of “IT Service Desks” contacts in AD, such as “IT Service Desks – USA”, “IT Service Desks – Brunei” and so on (more than 50).
    When we search “IT Service Desks” what is the expected result? Or Microsoft have their algorithm to display most popular search.

    Regards.

  5. Reply John Jan 12,2016 19:09

    Thanks for this, this really worked and solved a problem we was having with “dead” people showing up, and the local copy not getting an update correctly on the local users machines. switched it to online only and hey presto dead / deleted people gone, everyone happy and not seeing ghosts appear on their lync! 😉

Leave a Reply