FIM Sync EventID 6313 with Office 365 & DirSync

There has been a number of occasions when I have seen this error occurring on servers running DirSync, the error is this one:

Event ID:      6313
Task Category: Server
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      FIMSync

The server encountered an unexpected error creating performance counters for management agent “Active Directory MA”.

Performance counters will not be available for this management agent.

The solution is a relatively simply one:

  1. Delete this registry key first:
  2. Next from an elevated command prompt run:
    unlodctr.exe FIMSynchronizationService
  3. Then run from the same elevated command prompt:
    lodctr.exe “C:Program FilesWindows Azure Active Directory SyncSYNCBUSSynchronization ServiceBinmmsperf.ini”

After these steps restart the service FIMSynchronizationService and you should be all sorted. This has worked for me numerous times

Comments are closed.