Pages

Tuesday, February 19, 2013

Event ID 21054 error logged on Lync Server 2013

I’ve recently been asked several times to look at why a Lync Server 2013 server’s LS Address Book Server consistently logs the event ID 21054 error whenever the address book is updated with Update-CsAddressBook cmdlet or after the maintenacne that is ran every day:

image

The following is a sample of the event log information details:

Users are not indexed in the database that should be.

Expected indexed user count: 0

Actual indexed user count: 216

Cause: User replication issue.

Resolution:

Run Update-CsAddressBook to synchronize all accounts.

image

As per the following Technet article:

http://technet.microsoft.com/en-us/library/jj205120.aspx

image

If you execute the Debug-csAddressBookReplication -Poolfqdn <Pool FQDN for which the event was generated> cmdlet and don’t see any unindexed or abandoned objects listed then this event error can be safely ignored.

Note that the time of the writing of this post is February 2013 and Lync Server 2013 currently does not have any updates available so I assume future patches will fix this.

5 comments:

Anonymous said...

Great, thanks for the tip.

BostjanC said...

July Cumulative update is out but issue still appears to be

Robert said...

dou you know something about this update? I still experience this problem

Anonymous said...

Error is still here, Aug 2014, fully patched as of this date.

Unknown said...

Its Dec 2016. I can still see the same error popping up on my Lync 2013 server.

Log Name: Lync Server
Source: LS Address Book Server
Date: 12/9/2016 2:19:15 PM
Event ID: 21054
Task Category: (1008)
Level: Error
Keywords: Classic
User: N/A
Computer: abc.xyz.local
Description:
Users are not indexed in the database that should be.

Expected indexed user count: 0
Actual indexed user count: 36757
Cause: User replication issue.
Resolution:
Run Update-CsAddressBook to synchronize all accounts.