Lync2010,Multi-Forest: How can we allow the Client Users of apple.com search for username@banana.com and be able to search and add them, without knowing the users sip address?

Hello everyone,

We have federating working, but in my environment if i open my user@apple.com's LYNC CLIENT, and type in the SIP ADDRESS "userb@banana.com" and send him a message it works fine.

This is fine and dandy, but how can I make it such that all the users of banana.com appear in the user@apple.com's Lync Client? How can I add them automatically and sync them so that users can add whom they want?

Currently the users have to know the other sip federated domainusers email address and type it manually, but I want the client to automatically have both domain users in it? What is the easiest way to do so? Thanks!



  • Edited by martKyu 20 hours 13 minutes ago
August 19th, 2015 7:05am

You have to sync the contacts from your different forests and the AD object msRTCSIP-PrimaryUserAddress
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 7:49am

Can you explain how to do that? They are already federated, so how to do I sync that AD Object msRTCSIP-PrimaryUserAddress accross both domains to allow it do so?

(Or at least point me to an article or guide on how to do so? Ive googled around and could not figure it out)

  • Edited by martKyu 17 hours 53 minutes ago
August 19th, 2015 8:40am

Users as: "user@apple.com" and users as "user@banana.com" belong to the same forest or are different infraestructures?
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 2:58pm

They are different Forests but with a two-way trust. I want to make contacts and sync automatically but i dont know how
August 19th, 2015 3:08pm

Am I supposed to use ABSConfig.exe (from the Lync Tools) to somehow create contacts from existing CSAdUsers and automatically prepend the string of "sip:" in front of their email addresses in the  msRTCSIP-PrimaryUserAddress field?
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 3:21pm

You'd need to either use an identity management solution that can export user account data for each forest and import it as a contact object into the other, or you'd need to create an elaborate script. Once the object is created in opposite forest, the msRTCSIP-PrimaryUserAddress attribute can be set. 

Otherwise, there's no native Lync way to search a federated domain's address

August 19th, 2015 3:22pm

Thanks for your help. I think Microsoft FIM is no longer supported so I meet need a powershell script for this, do you have any tips or sample scripts I can use?
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 3:31pm

I don't have a specific script, but the Exchange forum guys might. It's more common that someone wants to add the contacts from a sister company to the Exchange GAL.  You could take that script an add one more attribute. There might be one in the TechNet Gallery even.
August 19th, 2015 3:33pm

Thanks.. Man this might be really hard :(... I was hoping it would be easy but It doesnt so...
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 3:37pm

Yeah, some things just aren't easy.  Remember when setting that attribute to put the sip: prefix.  If you just put joe.bob@domain.com it might not work.
August 19th, 2015 3:38pm

So If I manually make a "Contact" Object with ADUsers, then Use AdsiEdit to edit it and set the msRTCSIP-PrimaryUserAddress to sip:somedudesemail@apple.com, then it will automatically appear in the Lync Clients, or is there something else that needs to be done?
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 3:44pm

Quick answer: Yes.

Long answer: You'd also need to wait for the address book update cycle to run and once updated, you'd need to wait for the clients to update their offline address books unless your client policy is set to websearchonly for addressbookavailability.

August 19th, 2015 3:46pm

There is no way to do that by design. By design when you are working with federation, you must type the complete sip address as: federateduser@federateddomain.com from Lync Client, then decides if you want to add it or not.

In case that you want to create a predefined "Contact List" to have it in the Lync Client you must do it carefully. In that case you can take a look on the following articles as example:

One way is to export/import contacts:

http://www.expta.com/2011/01/introducing-lyncaddcontacts.html 

http://charlesulrich.blogspot.in/2013/03/lync-server-2013-bulk-updating-contact.html

Required Lync SDK 

http://msdn.microsoft.com/en-us/library/office/jj933206(v=office.15).aspx

This is an example guide: https://gallery.technet.microsoft.com/Lync-Contact-Manager-Step-4c3efe2d

Regards.

Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 3:50pm

Ahhh wow... Ok I have a lot to study about this. I will look over it
August 19th, 2015 4:14pm

The predefined contact list Carlos points out would be if you wanted to have the users prepopulated in the client's contact list.  If you just want them searchable in the GAL, you don't necessarily need all of those steps.  It's just a different method is all.
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 4:17pm

Sorry quick question, what do you mean by If you just want them searchable in the GAL. For that purpose what exactly do I need?
August 19th, 2015 4:39pm

Just the contact and the msRTCSIP-PrimaryUserAddress  attribute.
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 5:07pm

So in order to be searchable by the LYNC CLIENT GAL (not just exchange gal), I can just:

1. manually create a Contact (in AD Users&Computers)

2. assign a msRTCSIP-PrimaryUserAddress (in AdsiEdit)

3. Update-CsUserDatabase

4. Update-CsAddressBook

5. Then reboot the lync server, client, and domain controller, and it will appear in the Contact List afterwards?

  • Edited by martKyu 7 hours 58 minutes ago
August 19th, 2015 7:24pm

1 to 4 yes. 5 is not necessary but it may take some time to show up unless you set the client policy to websearchonly or use this procedure http://terenceluk.blogspot.com/2013/02/forcing-lync-2013-client-to-download.html?m=1
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 9:14pm

Hi,

Base on my understanding, you can also create a distribution group and add all the federated Lync contact in it. Then add this distribution group to Lync client. When users on your corporation using Lync want to search the federated users, they could view the distribution group to find them.

Best Regards,
Eason Huang

August 20th, 2015 1:28am

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

Other recent topics Other recent topics