[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Automate Lync contact creation with Lync Groupinator

Published on
3,837 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

Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Join & Write a Comment

Key to your CPU's ability to stay cool is to use the right amount of thermal paste and apply it correctly. In other words you want as much thermal conductivity between CPU and the cooling block. Use a quality thermal paste and apply it in a manner…
Learn the basics of Skype For Business in office 365

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month