Tuesday, April 10, 2012

Lync address book can show different values

** Updated below **

If you, like me, have changed the default values of the address book with the resource kit ABSconfig. You might want to read this post, and check out your own deployment.

I know the resource tools are what they are, and not fully supported when things turn out wrong, but I know plenty who have used this tool to manipulate the content of the address book. And as I showed in a previous post, I used it to manipulate how the Lync clients connect to exchange (Read the post here).

This has been working like a charm for long time, and still does, for internal clients. But somwhere down the road, it seems there has been released a patch that changes the behavior of the web services for address book searches

I'll explain in brief. in my environment, I have made the address book populate the email address from a different field than the default. I have selected the "info" property of the AD user, an not "mail" as the default. When the address book is generated, and downloaded by a client, it looks just fine, with the intended result.

The internal clients all see their correct e-mail address, and the outlook client integration works like a charm.

However, when I searched the same username from a federated account, this is what I got in response.

As you can see, the web search module seems to be reading from the default/original property and not the property I set with ABSconfig.. And it really looks bad.

I have not tested every single property change, but if one property behaves like this, chances are other properties might behave in the same way.

If I find a solution to this, I will make sue to update this post. (And before you ask, this was tested with the newest available version: 7577.172)

** Update 1 march 13th **
Someone was kind enough to remind me the current CU is CU5, not CU4.
I have now updated affected system to CU5, and it did not help.

** Update 2 march 13th ** 
I wanted to give Thomas's comment some though, and ran the abserver -dumpfile command. Sadly, this only proved my suspicion. The web search must be getting it's populated values from somewhere else. This is the information in the lsabs file:

The info property is listed as it should, with the proper value. The bogus email address that was written in the "mail" property of this user is no where to be found. Still, the bogus email address is the one shown to federated users, or internal user that have not downloaded their local db file yet.

** Update 3 April 10th **
I recently discovered the error might not be on the web search module, but might have something to do with the Edge server component.
I can see the wrong e-mail address beeing populated through a "INFO  :: SIP/2.0 200 OK" message:

Content-Transfer-Encoding: binary
Content-Type: application/msrtc-event-categories+xml

Post a Comment


Lync Powershell Microfoft Lync Server 2010 Script Lync 2013 Backup cspshell Microsoft Microsoft Lync Server 2013 Voice Windows Cisco CUCM Microsoft Lync Server 2010 OCS 2007 CCIE OCS 2007 R2 Windows Server 2008 csps LineURI SQL backup-sqldatabase CAC CUCM 7 CUCM 8 Certifications Internetworkexpert Lab Mediation Server Server enable-csuser Beta Certificate Freeware Lync 2013 Enterprise Edition Lync 2013 Standard Edition Lync client MS Exchange Microsoft Office Communicator 2007 R2 Restore Software UC Unified Messaging Virtual Machine Windows Live set-csuser Active Directory Address Book Blog tool Browser Call Manager Certificate Authority Chrome Enterprise Voice Google Graded Labs IPT Iewb-vo-vol1 Install Internet Lyncnumbers SIP SIP Trunk SQL 2008 Scripts Upgrading Virtual PC Windows 7 Windows Server 2008 R2 get-assignedlineuri import-csv search-lineURI Android Assigned Backup-cspool Bandwidth Management CUCILYNC Documentation Edge Error Exchange Exchange 2010 Exchange Roles Fail Front-end server HYPER-V IIS Lync Hoster Pack v2 Lync mobility MTP MUCUGN Meet URL New-aduser Normalization Qos R2 Remote control Reverse Proxy SSL Search Tablet Topology Builder USB User VMWare Virtual Server Voice policies get-adgroup get-adgroupmember get-csaduser get-csuser lyncnumbers.net 074-322 074-924 0x80070534 0xC3EC796C 32bit 350-030 443 502 5062 64bit A/V authentication ADDS Application server Attendant Bad gateway Blync Brussels Busylight CD COMMUNICATIONS MANAGER CSPM CUBE CUCIMOC CUPS CWA CentralManagementDatabase Certification Charter Member Cisco ISR Cisco Presence Citrix Codesigning Commands Communicator Web Access Conference Cortex Count CsClsLogging DHCP DHCPUtil DL360 DNS Database Deployment Desktop DialPlan Digicert Digit manipulation Domain Dual-boot ESX EWS Emulateclient Encryption Enterprise Edition Error 3221684226 Error 40 Error 404 Error 503 Event ID 32018 Exchange 2007 Experience Export-CsPersistentChatData Export-CsRgsConfiguration Export-CsUserData Ext Extension FTP Failure Filemerge General network Get-unusednumbers Global Knowledge Grant-CsOuPermission HCL HD HP HTC Touch Hosting IIS AAR INVITE Install-CsDatabase Just for fun Limited External Calling Linux Livemeeting Lync Online Lync Phone Lync Server 2012 Lync Server SDK 2010 MAPI Microsoft Communications Server R2 Attendant Microsoft® Community Contributor Award Mobile NTP Netwise CMG Netwise CMGVoice New-CSVoiceNormalizationRule New-CsNetworkBandwidthPolicyProfile New-CsNetworkRegion New-CsNetworkSite New-CsNetworkSubnet Numbers OCS validation OWAS Office 2007 Office 2010 Office Web Apps Server Option 43 PSTN GW Planning Tool Powerpoint Presence Presentation RC RDP RSAT Resource Kit Resource Kit Tool Rundtomrundt SDelete SP1 SP3 Sipaddresstype Sipreroute Social Standard Edition Success Switchboard Sysadminday Sysinternals System administrator TeamViewer Test-csphonebootstrap Translation-rule TrueCrypt Twitter UC520 UM Ubuntu Ubuntu 9 Unassigned Unsupported Users WIndows 8.1 Windows Firewall Windows Vista Windows XP aboutme csv export-csv gallery get-aduser get-csanalogdevice get-cscommonareaphone grant-csdialplan grant-voicepolicy iOS listasgridview mslearning new-csserverapplication notepad passwords send-mailmessage set-aduser syntaxHighlighter technet