Active Directory contact is changed to the phone number in the contact list of Lync2013/SfB2015

On 14th July 2015, a new Lync2013/SfB2015 client update was released (KB3054946 – 15.0.4737.1001). We were eager to see it released, especially because it includes the following fix:

Active Directory contact’s name is changed to the phone number in the contact list of Skype for Business or Lync 2013
https://support.microsoft.com/kb/3072753

Most users didn’t notice it because this only affects AD Contacts without sip address or email address.

To explain this let’s think in the following scenario: the company Gears has 3 receptions. They are located in the same site and they aren’t Lync/Skype4B enabled. The receptions only have one telephone connected to a traditional PBX and we add them as contacts in AD, so that they are searchable in Lync/Skype4B.

In Lync2013/Skype4B, we add these receptions to our contact list:

displaynamephone01

Now we need to sign off and sign in again. After this, the Display Name is replaced with the contact Phone Number:

displaynamephone02

If we don’t know the exact telephone number, we won’t be able to tell which of the results we need to call.

For the Lync2013/Skype4B client with the July 2015 update, we have the same behaviour as in the Lync 2010 client:

displaynamephone01

displaynamephone03

New profile and tracing location in Lync 2013

Recently I had to troubleshoot an issue with Address Book on the new Lync Client 2013 and found out that things have changed a little.

Since Lync Client is now part of Office 2013 package, all files related can be found inside the Office 2013 ‘Application Data’ folder.

Profile

The Lync profile is stored in a folder with the following format: ‘sip_<username@sip_domain>’. In order to force Address Book to refresh and sometimes solve issues, a good solution is to delete ‘GalContacts.db’ and ‘GalContacts.db.idx’ files from the profile directory (you have to close Lync Client before this action). The profile folder is stored in the following paths:

Lync 2010

%userprofile%\Local Settings\Application Data\Microsoft\Communicator

Lync 2013

%userprofile%\AppData\Local\Microsoft\Office\15.0\Lync

Tracing Folder

To enable Tracing you can check my previous post Enabling Trace Log in Office Communicator, Lync 2010 and Lync 2013.

After enabling it,  the log files will be located in the following locations:

Lync 2010

%userprofile%\Tracing

Lync2010-TracingFolder

Lync 2013

%userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\Tracing

Lync2013-TracingFolder

Address Book Download Delay

Also another feature that helps troubleshooting Address Book issues is to disable Download Delay. By default Lync Client waits between 0 to 60 minutes to download Address Book. To achieve this we must add the following register keys:

Lync 2010

reg add HKLM\Software\Policies\Microsoft\Communicator /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f

Lync 2013

reg add HKLM\Software\Policies\Microsoft\Office\15.0\Lync /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f

As you can see, the location of the registry key has also changed in Lync Client 2013 but the result is the same.

Enabling Trace Log in Office Communicator, Lync 2010 and Lync 2013

One thing that I’m always looking for is how to enable Trace Logs in Communicator/Lync. I created the following steps to help to enable logging. Trace logs are important in troubleshooting because most of the problems related to failure in instant messages or video/audio calls can be detected in Communicator/Lync Trace logs.

Office Communicator R2

To access the options we can click on the presence indicator and select “Options”.

OfficeCommunicator-Options2

Or we can select “Tools -> Options”, from the drop down menu.

OfficeCommunicator-Options1

In the “Options” window we select the “General” tab and finally activate logging by ticking the option “Turn on logging in Communicator”.

officecommunicator-optionswindow1

Lync 2010

In Lync 2010 the client changed the graphical interface but the “Options” window is similar to the one in Communicator.

Now to access options we select the gear/cog directly:

Lync2010-Options1

Or select the drop down menu next to the gear and then “Tools ->Options”.

Lync2010-Options2

The “General” tab is default in the “Options” window. To enable Trace log tick “Turn on logging in Lync” check-box.

lync2010-optionswindow1

Lync 2013

This time we’ve got another makeover in Lync client. As in Lync 2010, we can access options using the gear/cog.

Lync2013-Options1

And also use the drop down menu, “Tools-> Options”.

Lync2013-Options2

By default logging is enabled (Full level) in Lync 2013 Client. In the previous versions logging was disabled by default.

Lync2013-OptionsWindow1

Now we can choose from 3 trace log levels.

Lync2013-OptionsWindow3

The trace logs in Communicator/Client are really useful but, in my opinion, we should only enable them when trying to troubleshoot an issue. In normal usage we should disable the logs since it will continuously generate log files filling the hard disk with unnecessary files.