Lync GroupChat 2010 (UCMA Application) does not work, even after successful installation, with EventID 5286.

 

Symptom

========

Lync GroupChat 2010 (UCMA Application) does not work, even after successful installation with EventID 5286.

 

Cause

=====

 During installation if the Application Pool Name box is empty, you can specify an application pool name. This is an FQDN and must match the subject name for the certificate that was previously assigned.

https://technet.microsoft.com/en-us/library/gg398345.aspx

Execute Get-CsTrustedApplicationPool. ?If the entry for Group Chat Server Pool shows Application Pool Name, different that subject name on any of the Certificates in the CA than we need to flag it.

EventID in the Event Log.

Log Name:      Lync Server
Source:        LS MGC TRANSPORT
Date:          12/8/2010 7:02:06 PM
Event ID:      5286
Task Category: (1096)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      chat.corp.lync.com
Description:
The Group Chat server can not establish or maintain MTLS connection to the Lync Server.

Reason string: RemoteDisconnected

Error code: -2146233088

Cause: This problem is usually caused by an invalid MTLS certificate configured on the Group Chat Server or Lync Server.
Resolution:
Review certificate related sections in Group Chat Planning and Deployment Guide. Ensure the MTLS certificates configured on the Group Chat Server and Lync Server are valid.
Event Xml:
<Event xmlns="https://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="LS MGC TRANSPORT" />
    <EventID Qualifiers="50248">5286</EventID>
    <Level>2</Level>
    <Task>1096</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-12-09T03:02:06.000Z" />
    <EventRecordID>135</EventRecordID>
    <Channel>Lync Server</Channel>
    <Computer>chat.corp.lync.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>RemoteDisconnected</Data>
    <Data>-2146233088</Data>
  </EventData>
</Event>

Repro Steps:

 Install Group Chat Server.

At this step: https://technet.microsoft.com/en-us/library/gg398345.aspx

Enter an incorrect Application Pool Name.

Group Chat Server will be installed correctly, but no clients or Admin tool logins will work.

Resolution

=========

The way to correct this, is NOT uninstalling and re-installing Group Chat Server with the correct Application Pool Name. Since uninstallation does not remove the entry from CsTrustedApplicationPool and hence on all future installations the Application Pool Name is pre-populated and grayed out. Customer would have to execute Remove-CsTrustedApplicationPool, to start fresh and allow him to re-enter the correct Application Pool Name.