Debugging address book issues with Debug-CsAddressBookReplication

As I explained in a previous post, the address book component of Lync underwent major changes in Lync Server 2013, but the basic functionality remains the same.  Address Book is a deceivingly simple component.  While how it works is easy to explain, there are a great number of things that may go wrong.  Debugging issues…

0

Address Book changes for Lync 2013

For those of you familiar with the address book from previous versions of Lync, you will find the address book feature in Lync 2013 very familiar.  On the outside we have made very few changes.  The Powershell cmdlets used to manage the address book are essentially the same (with one change that I will mention…

0

Partitioning Lync Address Book using msRTCSIP-GroupingID

In certain large organizations, the need exists to not allow certain users to search for others.  One simple example of this is a school district.  Perhaps the school district wants to only allow users within schools to search for each other.  So if I belong to Cougar Hill Elementary I can search for my fellow…

0

How to enable last name, first searches in Lync Address Book

Over time, a few people have asked me why, given someone with a first name of Ziggy and a last name of Zooga, you will see the following results when searching using the Lync Address Book. Ziggy – success Zooga – success Ziggy Zooga – success Zooga Ziggy – failure Shouldn’t we be able to…

0

How to create a new group and add contacts to it in UCMA

It is quite easy to add groups, add contacts, and enumerate both contacts and groups using UCMA’s ContactGroupServices extension.  To enumerate groups, you can use the following. ICollection<Group> groups = endpoint.ContactGroupServices.EndGetAllGroups(endpoint.ContactGroupServices.BeginGetAllGroups(null, null)); To add a group, the following will work. endpoint.ContactGroupServices.EndAddGroup(endpoint.ContactGroupServices.BeginAddGroup(“mygroupname”, null, null, null)); And to add a contact in this new group you may…

0

Sending a SUBSCRIBE message with headers

UCMA makes it quite easy to send a subscribe message and then add, remove, or retrieve contacts and groups. endpoint.ContactGroupServices.EndSubscribe(endpoint.ContactGroupServices.BeginSubscribe(null, null)); In general the ContactGroupServices object, accessible from the Microsoft.Rtc.Collaboration.ContactsGroups namespace, provides a number of useful methods that make it easy to work with contacts. Recently, however, I came across the challenge that I needed…

0

Why is UCMA telling me my session is not established when I add a contact?

Recently I found myself in the situation where I need to add a contact to a user using UCMA  but did not care about what contacts currently existed.  I did the standard plumbing to create a CollaborationPlatform and register the user, then added the contact with the following code. userEndpoint.ContactGroupServices.EndAddContact(this.Subscriber.ContactGroupServices.BeginAddContact(contactUri, null, null)); To my surprise,…

0