Enable Server ConversationHistory- Skype for Business

Skype for Business Server side Conversation History

Back in my Microsoft Support engineer life with Lync 2013 and previous versions, I used to come across a lot of compliance issues, related to missed IM conversation history on mobile devices. In previous versions, it was more like a device based archiving , which means the same conversation cannot be found in the Outlook conversation history and phone. However Microsoft had gone a step ahead and fixed this component in Skype for Business. It was EWS which was responsible for writing the Lync conversation history to Outlook. However this time irrespective of the device from where you are having an IM conversation, everything is saved to a centralized location.

 

As soon as you enable server side conversation history, the entry point to server-side conversation history from the clients will be UCWA. So basically when this feature is enabled for desktop clients, the consumer of UCWA is no longer limited to mobile clients. The server-side conversation history make use of LYSS (Lync Storage Services) to process and then store conversation histories directly to Exchange using EWS. In this way removing the dependency on the client to submit conversation history directly to Exchange via EWS.

Screen Shot 2015-08-26 at 1.54.37 am

Mobility flow for Server Side Conversation History

1

Environment Prerequisites 

      •  End user must be homed on Skype for Business  Server 2015.
      •  User must have a mailbox homed on Exchange 2013(O365/On-Premise).
      • Skype for Business Server has OAuth setup with the Exchange 2013 environment

 

Exchange Prerequisites

1. Verify OAuth is configured on Skype for Business Server
    Get-CsCertificate -Type OAuthTokenIssuer.
2. Verify Exchange Server 2013 is configured to use OAuth with Skype for Business Server 2015.
    Get-PartnerApplication.
3. Verify the configuration for Exchange 2013
     Get-CsPartnerApplication
4. Verify OAuth setup between Skype for Business and Exchange
     Test-CsExStorageConnectivity –SipUri user@contoso.com -Verbose

Enable Server Side Conversation History

1. Set-CsConversationHistoryConfiguration -EnableServerConversationHistory $true -verbose

2

2. Set-CsClientPolicy –identity “policy_name” –EnableServerConversationHistory $true -verbose

3. Verify CMS replication, Get-CsManagementStoreReplicationStatus.

4. Restart the SfB Services (assuming this is the first time S4B-Exchange auth has been configured)

   Post deployment verification:

   1. Get-CsMobilityPolicy (Ensure “AllowSaveIMHistory” is enabled)

       3

 2. Get-CsClientPolicy (Ensure “DisableSavingIM” is not enabled)

       5

  MaxContinuedConversationRetry

Specifies the maximum number of times the Skype for Business Server will search for a previous conversation item from Exchange to create a continued conversation. If the previous conversation is not found in the specified number of attempts, a new conversation is created. Increasing this value will present more continued conversations, but at the cost of decreased performance. This parameter should not be used except in situations where Exchange connections are known to be unreliable. The default value is 3.

 

  Basic troubleshooting steps.

  Enviornment: SfB Server 2015 onprem and Exchange online/On-Premise

  Collect below information’s first.

  1. Get-CsAccessEdgeConfiguration
  2. Get-CsHostingProvider –LocalStore
  3. Get-CsHostingProvider

  Test-CsExStorageConnectivity -SipUri name@domain.com –Verbose, which performs below steps in the background.

  1. Opens a connection to LYSS
  2. Creates a test message
  3. Initiates Exchange storage request
  4. Lookup for Exchange mailbox (Autodiscover)
  5. Find mailbox settings
  6. Oauth handshake
  7. Message creation response (success, failure)

 

Collect UCWA and LYSS logs from all FE servers if required. Always try to isolate the issue in a user level, sometimes user in a different exchange database/ Server or site might not be affected. Logical corruption in the mailbox may cause trouble in pulling the conversation history. So as a last option always look in to this issue from the Mailbox side.

References from Microsoft Ignite 2015, Chicago & other resources.

If you have any suggestions or feedback, please feel free to comment below.

 

Happy Learning..!!!
Anoop Karikuzhiyil Babu
Former Microsoft Premier Unified Communication Engineer

 Category: Skype for Business
About Anoop Karikuzhiyil Babu

Started his career with Exchange 2003 as a Microsoft Support Engineer, later moved to Microsoft Enterprise Unified Communication Team as Premier Engineer. Post handling numerous Premier environments and deployments, currently settled as a Solution Architect for Messaging and Collaboration in United Arab Emirates largest Tier3 Datacenter.

Related articles

7 Comments

  1. Sarath Kumar
    Reply

    Good one!

  2. Ananthu
    Reply

    Nice mate. Keep writing.

  3. chinnu
    Reply

    well done.. nice article.

  4. Roby Varkey Kurian
    Reply

    Well Done Anoop… keep going 🙂

  5. Reply

    […] Enable Server ConversationHistory- Skype … – Skype for Business Server side Conversation History Back in my Microsoft Support engineer life with Lync 2013 and previous versions, I used to come across a […]

Leave a Reply