SQL Server Agent LcsLog purge job fails with error in certain scenarios in Skype for Business Server 2015

Applies to: Skype for Business Server 2015

Symptoms


The LcsLog purge job may fail with the following error message in Microsoft Skype for Business Server 2015:
Message: The DELETE statement conflicted with the REFERENCE constraint "FK_FocusJoinsAndLeaves_4". The conflict occurred in database "LcsLog", table "dbo.FocusJoinsAndLeaves". The statement has been terminated.​

Resolution


To fix this issue, install the May 2020 cumulative update 6.0.9319.580 for Skype for Business Server 2015, Core Components.