LS User Replicator Event 30011

Here’s a quick little fix for an issue seen at a customer.

They have an empty forest root domain, as this was once considered good practice for security reasons (to protect the schema and isolate highly privileged accounts/groups such as Enterprise Admins) and they have stuck with it since. Lync is deployed in the child domain, with no rights into the root.

They were seeing an error like the following the the event logs, every 20 minutes:

Log Name: Lync Server
Source: LS User Replicator
Date: 08/08/2013 14:18:56
Event ID: 30011
Task Category: (1009)
Level: Error
Keywords: Classic
User: N/A
Computer: LYNCSE01.childdom.customer.net

Description:
Encountered an unrecognized error while processing objects from a domain. This error caused User Replicator to abort synchronization of this domain. Synchronization will be retried for this domain. If this domain is not enabled for Lync Server, then this error can be ignored.

Domain: customer.net (DN: DC=customer,DC=net) Error: 50 (Insufficient Rights) ReplicationType:AddressBookReplication.
Cause: The cause for this error can vary. Please review the errors listed above.
Resolution: Contact support services if the error is not descriptive enough to remedy the problem.

The reason for the error is that by default, the User Replicator looks for all domains and tries to sync with them. User Replicator is the component that looks at Active Directory and pulls information into the Lync user database, ensuring any changes in AD (such as a user’s display name) are also reflected in Lync. With no rights in the root domain, it cannot read any information and errors.

Easily fixed however, via the Set-CSUserReplicatorConfiguration cmdlet:

Set-CsUserReplicatorConfiguration -Identity global -ADDomainNamingContextList @{Add=”dc=childdom,dc=customer,dc=net”}

Change the last part to reflect the distinguishedName (DN) of your user domain(s). By default, the list of contexts is empty – setting one or more will tell the User Replicator to just look at those.

Fictitious telephone numbers

Most countries publish a telephone numbering plan, and this comes in very useful when setting up dial plans and normalization rules for Lync. It wasn’t until I was delving into the UK numbering plan that I found that large blocks of numbers in the UK are specifically reserved for “drama purposes” – in other words to use in films and TV shows. They are not allocated to anyone, and should not be allocated in the foreseeable future. This is much like the 555 convention used in the USA.

The full list is here – a total of 20,000 numbers to choose from! They include most major UK cities/areas, as well as mobile, freephone, premium rate and non-geographic.

What does this have to do with Lync? There are a few situations where they can be useful:

  • Customer documentation, especially example numbers or in generic templates.
  • Testing dial plans and PSTN usages, particularly for premium rate where you might not want to connect to a real one and pay over £1 a minute!
  • Validating that numbers across different area codes normalize correctly.

Australia has a similar scheme – the ACMA have a list of numbers for drama.

I’ve not come across any for other countries though – if you know of any, please get in touch!