We all know Lync has a great feature that it can search contacts from Outlook Contact Folders. But sometimes, we do not want the Lync Client to search Contacts
from some specific Outlook Contact Folders.
[Requirements]
For example, in my scenario, I have personal contacts defined in Outlook and my Lync client shows both Lync enabled users and Outlook contacts in search results.
(There are three Contacts in two Contact Folders, TestUser2 in Contacts Folder, TestUser1 and TestUser3 in CS Folder)
![]()
![]()
Yes, everything works well. But now I do not want it to search Contacts from the CS folder.
[Solution]
For this example, I will create a new client policy and configure it to not search the Outlook “CS” folder. I create the policy by running:
New-CsClientPolicy –Identity “ExcludeOutlookContactFolder” –ExcludedContactFolders “CS”
![]()
Then assign the policy to the user “LyncDemo2” by running:
Grant-CsClientPolicy –Identity LyncDemo2 -PolicyName “ExcludeOutlookContactFolder”
![]()
Run Get-CsUser command to check if the policy is assigned to the User.
![]()
After the user receives the new client policy, the same search will not show the Outlook contacts from “CS” folder:
![]()
Important: Please make sure both the Outlook and Lync client are up
to date. In my testing, I found it might not work with some previous versions.
Reference:
http://howdouc.blogspot.com/2012/03/blocking-lync-from-searching-outlook.html
https://technet.microsoft.com/en-us/library/gg398300.aspx
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.