Hide/display specific contacts

Hi all,

We use Exchange 2007 and Lync 2010. We have two contacts with similar names

1. first one is a resource Calendar account
2. Normal user Account.

I would like to

1. Hide the Resource calendar account from Lync and only visible in Outlook addressbook
2. Hide the Normal user logon account from Outlook Addressbook and visible only in Lync as this is a generic account only used for a single purpose and need not be availabe in Outlook Address book.

Can this be done? If yes,  how do I go about achieving this?

January 8th, 2014 5:04am

Hi,

you can do this by configuring a Client Policy with -ExcludedContCTFolders. by using this parameter you can specify what should the Lync client show when a user do a search

http://www.exchangedude.net/index.php/2012/02/exclude-suggested-contacts-frequent-contacts-in-the-lync-addressbook/

Free Windows Admin Tool Kit Click here and download it now
January 8th, 2014 4:36pm

1) Well, we've used this with mixed success to hide contacts from Lync: http://www.justin-morris.net/how-to-hide-users-from-the-lync-address-book/

2) To hide them in Exchange use this http://technet.microsoft.com/en-us/magazine/ff381467.aspx but they should still be visible in Lync.

January 8th, 2014 8:01pm

Hello,

Sorry but I don't quite understand what a Resource Calendar account is... Is it a regular user mailbox that shares its calendar? If that is the case why not use a Resource Mailbox instead of a User Mailbox (a resource mailbox uses a disabled AD user account). If either of them are true, I don't see why that account should be enabled for Lync.

As for the regular user account, the 'HideFromAddressLists' property works fine from hiding from GAL.

Also a Lync enabled user need to have 3 AD attributes configured in order to be 'enabled' for Lync:

msRTCSIP-PrimaryUserAddress - This attribute contains the SIP address of a given user.

msRTCSIP-UserEnabled - This attribute determines whether the user is currently enabled for Lync Server.

msRTCSIP-PrimaryHomeServer  - This attribute enables a user or contact for SIP messaging. It is added to the contact class because in the central forest topology, contact objects, not user objects, are SIP enabled. The valid value is the DN of the Standard Edition server or Enterprise Edition Front End pool where a user is homed.

I haven't tested this because I wasn't confronted with such a scenario but, if the msRTCSIP-PrimaryUserAddress is removed, then it might not be indexed in the Lync Address Book on the next AD replication process. I think there are some attributes that are 'mandatory' in order to synchronize the contact from AD and the SIP address might be one of them, but like I said I haven't tried this b

Free Windows Admin Tool Kit Click here and download it now
January 9th, 2014 1:40am

I dont think this can be done.

You can specify contact folder that cant be searched by the command Set-CsClientPolicy ExcludedContactFolders but you cant specify the particular contact.

If you want to hide normal Lync user contact from outlook, then you need to disable Lync client create a corresponding personal contact in Microsoft Outlook for each person on a users contact list by the command Set-CsClientPolicy EnableExchangeContactSync. But if you run the command, you cant search other contact in your Lync contact list from outlook.

January 9th, 2014 12:27pm

I think you can create an additional Client Policy and Grant it to whoever you want.

Here is an example:

Grant-CsClientPolicy -Identity "Ken Myer" -PolicyName SalesPolicy

Free Windows Admin Tool Kit Click here and download it now
January 9th, 2014 12:49pm

Thanks all for your suggestions. I am unable to test these at the moment as the approvals are taking longer. I will update the post once I have done the change and test.
January 13th, 2014 7:18pm

Thanks!  Please let us know.
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2014 2:10pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics