Wednesday, August 08, 2018

SharePoint 2013 - PWA AD Synchronization error - GeneralQueueJobFailed (26000) - AdSyncERP.AdSyncERPMessage

After Installation of new Patch for SharePoint 2013, few days after i suddenly started receiving Project Web Application - Ad Syncronization error.
This started occurring for all new projects being created as well as on any attempt to synchronize the site permissions from Server Settings – Project Sites.

Due to this error users could not access any of the affected sites. There was no errors connecting the AD since my User Profile Service Application was running fine and getting sync everyday.








Error Message
  • GeneralQueueJobFailed (26000) - AdSyncERP.AdSyncERPMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='1a562258-c32d-e911-80ed-005056827509' JobUID='b5288351-xxxx-xxxx-80ed-005056827509' ComputerName='XXXXXXXX-411c-45a4-98c8-c87005e63efe' GroupType='AdSyncERP' MessageType='AdSyncERPMessage' MessageId='1' Stage='' CorrelationUID='7dd5be9e-510e-XXXX-XXXX-e8492f101fa4'. For more details, check the ULS logs on machine XXXXXXXX-411c-45a4-98c8-c87005e63efe for entries with JobUID b5288351-xxxx-xxxx-80ed-005056827509.

And in the ULS log we see some more details:

Microsoft.Office.Project.Server (0x0770) 0x2E80 Project Server                Queue                          ad3fy Critical Standard Information:PSI Entry Point:   Project User:   Correlation Id:   PWA Site URL:   SA Name:   PSError: A queue job has failed. This is a general error logged by the Project Server Queue everytime a job fails - for effective troubleshooting use this error message with other more specific error messages (if any), the Operations guide (which documents more details about queued jobs) and the trace log (which could provide more detailed context). More information about the failed job follows. GUID of the failed job: 84b1d856-xxxx-xxxx-8115-005056891468. Name of the computer that processed this job: xxxxxxxx-e8d6-482c-b869-521681f05f8f (to debug further, you need to look at the trace log from this computer). Failed job type: AdSyncERP. Failed ... d305be9e-4196-xxxx-xxxx-d245e095323c

Microsoft.Office.Project.Server (0x0770) 0x2E80 Project Server                Queue                          ad3fy Critical ...sub-job type: AdSyncERPMessage. Failed sub-job ID: 1. Stage where sub-job failed:  (this is useful when one sub-job has more than one logical processing stages). d305be9e-4196-xxxx-xxxx-d245e095323c


After searching net I found people are getting similar log messages but with the some user name mentioned it. The resolution was simple just remove those user displayed in log messages. but If you see i highlighted some part of message "".  Most of the times the "" part has user name for which the job was failing. but in my case it wasn't showing up any users. 

I had word with AD team and raise a ticket to remove all disabled users. Removing the users from AD Group immediately corrected the issue! Phew. 

No comments: