Automate Lync contact creation with Lync Groupinator

Published on
3,800 Points
Last Modified:
It seems that Microsoft thought of everything when it came to Lync: ease of use, multiple modalities for communication from a single interface, did I say ease of use? Unless you're used to chat servers that allowed you to predefine groups for different business units in your organization - that's not baked in. But you do have some options - you could make a script with manual groupings using AddCSContact.ps1, or you could use the Lync Groupinator.

Groupinator.PNGThe Lync Groupinator's sole purpose in life is to run as an off-hours job to take specified Active Directory OUs and turn them into automated contact groups for Lync. Then it applies the appropriate OU group to everyone in that OU.

At the Lync groupinator page, it shows that you need the following to run: Lync Powershell module, Quest Active Roles and Add-CSContact.ps1.

Configuring the Active Directory OUs (that contains the membership for your Lync contact lists) is a matter of modifying an array starting on line 70 of the Lync Groupinator script with this format:

Field 0: departmental/buisness unit OU of Lync users
Field 1: name of the users file
Field 2: (not used currently)
Field 3: how the members OU title will appear in lync 
Field 4: how the OU description appears in lync
Field 5: the contact file name
Field 6: (not used currently)
Field 7: (not used currently)

Typically, you'd want to make changes to fields 0, 1, 3, 4 and 5. Taking the example, you'd use it like this:
  ,('domain.local/domain users/Administration','ADMINUsers.csv',,'≡ADMIN≡',' Administration','AdminContacts.csv',,)
This script will cause clients to not update status until they so a hard exit and restart, hence the reason why it is an off-hours script. 

I hope this helps you deliver a more polished Lync experience to your users. Happy 2015 everyone!

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Join & Write a Comment

See the Basics of Office 365's Note Taking app, OneNote
Watch this online video tutorial and learn the best way to reduce Outlook mailbox size using Compact Now feature of Outlook. It removes the deletes item's space from Microsoft Outlook 2016, 2013, and 2010 and compresses the PST file size. This will …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month