Monday, March 5, 2012

Blocking Lync From Searching Outlook Contact Folders

NOTE: This functionality requires the latest Lync client hotfix, KB 2670326, from Feb. 2012 (7577.4072).  Download Here: 32-bit or 64-bit

Lync does a great job at searching across multiple sources for potential Lync contacts.  For example, in my scenario, I have personal contacts defined in Outlook and my Lync client will show both Lync enabled users and Outlook contacts in search results.

Lync - contact - outlook folder

Lync - contact search1

Note that Outlook contacts will show with the (Contacts) description beside the result.

There may be reasons that this experience is not desired.  Some companies will want to suppress the Outlook contact results to either not cause confusion or for other reasons.  Lync allows this control by using in-band client policies. 

For this example, I will create a new client policy and configure it to not search the Outlook “Contacts” folder.  Note that any contact-type folder can be specified.  I create the policy by running:

New-CsClientPolicy –Identity “ExcludeContactSearching” –ExcludedContactFolders “Contacts”

Lync - contact command policy

I have created a new policy, but the –ExcludeContactFolders parameter can be configured on any client policy already defined.

Next, assign the policy to the user by running:

Grant-CsClientPolicy –Identity <user> –PolicyName “ExcludeContactSearching”

Lync - contact command policy apply to user

After the user receives the new in-band policy, the same search tried originally will not show the Outlook contacts:

Lync - contact search1 - after

Again, this requires the 7577.4072 version of the client to work.  Hope this helps.


  1. Intersting and beautiful blog lovely presentation thanks for sharing your software support

  2. Very nice article. I want to do this as a test by adding myself. however, just in case, what is the cmdlet to remove myself from that policy?

  3. I am trying this on Lync 2013 with no success. Is any difference?

  4. On Lync 2013 work ramdomly. Anybody found any pattern ?

  5. It works great, thanks a lot

  6. Wow, these are good news. I always feel uncomfortable when my contacts are searched without my permission but I am now happy to note that it is possible to block Lync from Searching Outlook Contact Folders. Thanks so much for updating us. If you are wondering How to Write a Good Research Paper, visit our site and find more information.

  7. Thanks for posting your valuable thoughts with us & our readers. Please keep continue writing on this blog.
    Bulk SMS Provider In Chennai

  8. It is great to have visited your website. Thanks for sharing useful information. And also visit my website about health. God willing it will be useful too

    Obat Herbal untuk Prostat Membesar/Bengkak
    Pengobatan Alami Jerawat Meradang
    Obat Herbal untuk Jerawat Meradang