A Unified Communication Blog
Get Adobe Flash player

If you have a domain and you need to exclude it from the Lync address book, the way to do it is with this powershell

Set-CsUserReplicatorConfiguration -Identity global –ADDomainNamingContextList @{remove=”dc=south,dc=exchangepro,dc=dk“}

You can check which domains Lync will replicate users from with: Get-CsUserReplicatorConfiguration

If you at a later time need to add the domain again simple just use the powershell

Set-CsUserReplicatorConfiguration -Identity global –ADDomainNamingContextList @{add=”dc=south,dc=exchangepro,dc=dk“}

 

So why should you need to remove a domain from Lync – There could be many reasons for this, but I had a case where I have several sub domains which actually did contain a lot of users but Lyns was not allowed to read from these domains – because the sub domains wasn’t domainprep’ed.

And when Lync can’t read from a domain, it tries all the time, and spammed the eventlog, so to remove this until the domain was domainprep I used this metode.

I can also cause a very slow start up of the Frontend services, because it will try to make a first run on the domain which it’s not allowed to read.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Search

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 70 other subscribers

Follow me on Twitter