You might come across a scenario where end users might report that they are not able to search for contacts through Lync/Skype for Business client.
In this article i have collected few troubleshooting steps based on my experience which might help in addressing these kind of issues
Before looking into troubleshooting lets have a small idea on the address book synchronization :
The address book creation in Lync client happens separately and it never talks to Exchange.
The core component user replicator which was introduced from Lync 2010 contacts Active Directory very frequently once in every 60 seconds and updates the information of the users present in the Lync server. This interval is set by default and can be altered.
These updated information is stored in the backend SQL database named RTCab.
After the above job is completed it doesn’t mean that the address book is updated.After this the responsible server for update process of address book will start a synchronization pass once in every 24 hours usually 1:30 AM local server time.
This information will be updated in the address book files in the shared folder in the type dabs file.
So by looking into the above process there can be so many factors which might block searching the address book from client perspective.
Below troubleshooting steps which might help in fixing these issues.
1) First identify how many users are affected. Check the version of the client Lync 2013, Skype for business 2015 or Skype for Business 2016 client.
Pick any one of the affected user and perform the below tests.
From the affected PC try to access the URL you have published for lync https://webs.contoso.com/abs and see if you get the authentication prompt.
If you are not getting the authentication prompt then there is some serious issue with the connectivity from your end reaching the server. You have to fix this issue.
2) Run the command Get-CsUserReplicatorConfiguration and see the replication cycle interval.
The replication cycle interval by default is 60 seconds. If this value has been modified then we need to wait till the replication interval period gets completed.
3) Its better to check the Synchronizepolling interval .This is the value which the addressbook server looks for any pending synchronization events for the lync users.Because there are more chances this value might be altered if you don’t want to happen this for every 5 minutes. In that case we need to wait till the interval period completes or run the Update-CsAddressBookConfiguration.
This value can be altered from 5 minutes to 3 hours.
4) Check the Csclientpolicy
Run the command Get-CSClientPolicy and see the AddressBookAvailabilty configuration.
Basically there are 3 options which we can set based on our requirement for this Lync/Skype for business address book availability.
Its very self explanatory based on the names that we have for the addressbook.
By default this value is set to Websearchandfiledownload only. By having this option what it does is a local address book cache file from each client will be downloaded from the server. After that the Lync client will use the local cache. In-turn it will use the websearch functionality to download the user photos only.
So basically it takes 24 hours of time to have a fully updated local cache files.
When we have a web search only option it does a direct lookup to the RTCAB database which will give the fully updated information for the lync/SFB clients. This is more or less similar like difference between having users in Outlook Cache Mode and in online Mode.
It would be better if we have a separate client policy only for the top VIP users. This will help them to see all the updated information from the Active Directory.
Inorder to create the client policy you can run the below command
New-CsClientPolicy -Identity VIP -AddressBookAvailability WebSearchOnly.
You can use this option for all users as well if we have less number of users where the user attribute changes happens very often and provided your network bandwidth is strong.
5) One last step that we can try is to run the below command.
The output of the command result should say there are no unindexed or abandoned objects.
If you see any errors on them then you can try running Update-CSAddressBookConfiguration and see if it helps.
Hope this helps
MVP – Exchange Server
Leave a Reply