Another fix for Lync Conversation History problems

We had an end user who politely insisted that we get his Conversation History working. He was extremely patient and very helpful in our long, long period of troubleshooting. But he was persistent and kept pushing us to find a solution. I kept coming back to the thought that Exchange Web Services (EWS) weren’t working for him. Our Exchange Admin correctly pointed out that if EWS wasn’t working for him then pretty much all of Outlook wouldn’t be working for him.

As time passed and we got more desperate. I had him try to connect with this (pointless?) little utility from Microsoft – the Lync Conversation Analyzer. What value this utility actually provides is anyone’s guess but to use it you have to log in directly against EWS. I was able to connect successfully. However our troubled end user could not. Finally some proof that EWS was rejecting his connections.

We ended up opening a case with Microsoft and, to summarize, the issue is that our user had so many folders and nested folders that it hit a maximum set in the “EWSFindCountLimit” setting. So we created a new mailbox policy with an unlimited value for this setting, applied it to his mailbox and presto! Conversation History was working.

—————————–

Detailed analysis…

  • Collect the .etl log while reproducing the issue.
  • Parse the logs and find this error:

[3]1D80.1B88::10/04/2011-19:56:34.818
[oc]<O_TRC><ADR>0x09F38B60</ADR>Found error in CEwsMailboxFolderManagerTask response.
responseCode=ErrorExceededFindCountLimit.
reportedStatus=ErrorExceededFindCountLimit.</O_TRC>

[3]1D80.1B88::10/04/2011-19:56:34.818
[oc]<O_TRC><ADR>0x09F38B60</ADR>CEwsMailboxFolderManagerTask response code changed.
oldStatus=ErrorExceededFindCountLimit. newResponseCode=NoError.</O_TRC>

[3]1D80.1B88::10/04/2011-19:56:34.818
[oc]<O_TRC><ADR>0x00000000</ADR>HRESULT
failed=0x80004005(E_FAIL)</O_TRC>

  • This error could be caused by the Throttling policy in Exchange Server 2010.
  • We can run the command to disabled the“EWSFindCountLimit”

Get-ThrottlingPolicy “Default*”| Set-ThrottlingPolicy -EWSFindCountLimit $null 

  • Created a new throttling policy using the below command,

New-ThrottlingPolicy -Name Test

  • Then set EWSFindCountLimit to Null using

Set-ThrottlingPolicy -Identity Test -EWSFindCountLimit $null

  • Then assigned the policy to the user mailbox using

Set-Mailbox -Identity <UserName> -ThrottlingPolicy Test

8 comments

2 pings

Skip to comment form

  1. Thanks a lot. We also had this problem with one of 20000 users. Your solution fixed it.

    • none on 2013/02/15 at 17:10
    • Reply

    Thanks — this really helped a lot. I had user suffering with this for weeks. She had around 800 folders. After clearing a few hundred everything immediately started working.

    • none on 2013/02/15 at 17:10
    • Reply

    Thanks — this really helped a lot. I had user suffering with this for weeks. She had around 800 folders. After clearing a few hundred everything immediately started working.

  2. this is brill! worked a dream! thanks soooooo much!

  3. this is brill! worked a dream! thanks soooooo much!

    • Jitender on 2016/01/16 at 02:17
    • Reply

    in exchange 2013 ewsfindcountlimit has been removed now what is the solution if outlook 2010 folder count is more than 1000 with LYNC 2010

    • Kip on 2016/10/13 at 17:58
    • Reply

    Typically my Conversation History works, but I had a conversation this morning, and once the conversation was over, I just closed it. It didn’t save to my history and it’s a conversation I wish I could get back. Any suggestions?

    • Sue on 2017/09/14 at 11:56
    • Reply

    So I was having the issue of my conversations not being saved. Working with my IT folks here is what fixed it, The process must be completed in the exact order for the issue to be resolved:

    1. Delete the Conversation History Folder from outlook
    2. Close and exit Lync
    3. Close Outlook
    4. Check Task Manager to make sure no instances of either Outlook or Lync are running – if they are close them.
    5. In the run command type outlook /resetfolders and click ok
    6. After outlook opens and is settled in – open Lync
    7. Wait……

    A few minutes after completing this process my Conversation History Folder reappeared, populated by past conversations that had not saved prior to completing the process above.

    Anywho….. – Hope this helps someone

  1. […] ссылки по проблеме: Throttling Policies and the EWSFindCountLimit Another fix for Lync Conversation History problems Lync 2010 and Outlook 2010 cannot save conversation […]

  2. […] ссылки по проблеме: Throttling Policies and the EWSFindCountLimit Another fix for Lync Conversation History problems Lync 2010 and Outlook 2010 cannot save conversation […]

Leave a Reply to Kip Cancel reply

Your email address will not be published.