none
Lync Presence Status not syncing with Outlook

    Question

  • I have recently migrated from OCS 2007 to Lync Server 2010. During the migration users that were moved to the Lync 2010 server lost the functionality of their presence status updating according to the users Outlook calendar.

    My environment is as follows:
    Std Ed colocated Lync 2010 server
    Exchange 2010 SP1
    Outlook 2010
    Lync 2010 client

    Since then I have decommissioned the OCS 2007 server and removed from our environment but the users presence status is still not updating according to the users Outlook Calendar. I have read most of the forums that relate to an exchange autodiscover issue and everything appears to be configured correctly with autodiscover.

    Does anyone have any suggestions on where to look?

    Thanks,

    Friday, May 06, 2011 8:18 PM

Answers

  • Hi tzinger,

     

    please look in the documentation in my link above. This documentation cover all errors. You don't have to configure anything for EWS because EWS are the default settings. The most common errors are the wrong configuration of the autodiscover service. You have to setup the right dns entries for autodiscover.

    Lync use the autodiscover entry to find the EWS website of the Exchange webservices on the cas server. If you have the status "EWS not deployed", your configuration is not setup correct.


    regards Holger Technical Specialist UC
    • Marked as answer by tzinger Tuesday, May 17, 2011 3:58 PM
    Monday, May 16, 2011 4:38 PM
  • Hi,tzinger,

    Based on your description,I supposed you have outlook integration and exchaneg server are functioning correctly,and your email address is also match the sip user account.

    So,would you please check theese information which may cause the problem?

    1)Please check the Exchange Web Services are accessible.    

    2)Please verify that you have open the ports on A proxy or firewall that Microsoft Lync has to connect to Exchange Web Services.

    3)Also please check the client policy in this link(eg.MAPIPollInterval, WebServicePollInterval,CalendarStatePublicationInterval )

    http://technet.microsoft.com/en-us/library/gg398814.aspx

    MAPIPollInterval, WebServicePollInterval controls how often Lync retrieves calendar data - default is every 30 mins.

    4)Another more infromation for your reference.

    http://support.microsoft.com/kb/968099

    Regards,

    Sharon

     


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Wednesday, May 11, 2011 6:47 AM
  • Hi,

     

    look at this link for the outlook exchange integration:

     

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e28a196a-b80f-4c7e-952c-9dceacae1beb&displaylang=en

     

     


    regards Holger Technical Specialist UC
    Thursday, May 12, 2011 6:44 AM

All replies

  • Hi,

    Lync use EWS, so you can check that EWS is work corect. Use the strg and right mouse on the Lync icon in the taskbar. Than you can look for your Lync configuration. There you can find EWS Indormation, the status shoul be OK.


    regards Holger Technical Specialist UC
    Saturday, May 07, 2011 8:13 AM
  • Hi,tzinger,

    Based on your description,I supposed you have outlook integration and exchaneg server are functioning correctly,and your email address is also match the sip user account.

    So,would you please check theese information which may cause the problem?

    1)Please check the Exchange Web Services are accessible.    

    2)Please verify that you have open the ports on A proxy or firewall that Microsoft Lync has to connect to Exchange Web Services.

    3)Also please check the client policy in this link(eg.MAPIPollInterval, WebServicePollInterval,CalendarStatePublicationInterval )

    http://technet.microsoft.com/en-us/library/gg398814.aspx

    MAPIPollInterval, WebServicePollInterval controls how often Lync retrieves calendar data - default is every 30 mins.

    4)Another more infromation for your reference.

    http://support.microsoft.com/kb/968099

    Regards,

    Sharon

     


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Wednesday, May 11, 2011 6:47 AM
  • Did you deploy the April CU2 update to your Lync clients?  I've seen some issues related to calendar integration with this version.
    Mike Stacy | http://mikestacy.typepad.com
    Wednesday, May 11, 2011 1:52 PM
  • Hi,

     

    look at this link for the outlook exchange integration:

     

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e28a196a-b80f-4c7e-952c-9dceacae1beb&displaylang=en

     

     


    regards Holger Technical Specialist UC
    Thursday, May 12, 2011 6:44 AM
  • Hi,tzinger,

    How is your issue going on?

    Any updates please let us know.Thanks!

    Regards,

    Sharon


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Friday, May 13, 2011 1:21 AM
  • Thank you for the information, one thing I did notice is as listed above, when I right mouse on the Lync icon in the taskbar and click on Lync configuration I do not see anything listed in the Internal or External EWS URL's. Should I have something listed for those entries?

    Also, is there an easy way to tell if the April CU2 for Lync has been installed?

    Friday, May 13, 2011 7:05 PM
  • Sharon,

    Thank you for your reply, the MAPIPollInterval has no value assigned, the WebServicePollInterval has no value assigned, and the CalendarStatePublicationInterval has a value of 120 (not sure if the is seconds or minutes).
    Do you have recommended settings for these values?

    Thanks,

    Friday, May 13, 2011 7:13 PM
  • Sharon,

    Thank you for your reply, the MAPIPollInterval has no value assigned, the WebServicePollInterval has no value assigned, and the CalendarStatePublicationInterval has a value of 120 (not sure if the is seconds or minutes).
    Do you have recommended settings for these values?

    Thanks,

    Friday, May 13, 2011 7:13 PM
  • Sharon,

    One thing I noticed when viewing the Lync Client configuration - the EWS information status is "EWS not deployed"
    rather than "EWS Status OK". Is there a change that I can make on the client or server to fix this issue?

    Do I also need to have values in MAPIPollInterval, WebServicePollInterval, and CalendarStatePublicationInterval for the status updates to work?

    Thanks,

    Monday, May 16, 2011 3:35 PM
  • Hi tzinger,

     

    please look in the documentation in my link above. This documentation cover all errors. You don't have to configure anything for EWS because EWS are the default settings. The most common errors are the wrong configuration of the autodiscover service. You have to setup the right dns entries for autodiscover.

    Lync use the autodiscover entry to find the EWS website of the Exchange webservices on the cas server. If you have the status "EWS not deployed", your configuration is not setup correct.


    regards Holger Technical Specialist UC
    • Marked as answer by tzinger Tuesday, May 17, 2011 3:58 PM
    Monday, May 16, 2011 4:38 PM
  • Hi,Tzinger,

    Sorry for responsing you late.

    "EWS not deployed" mostly related to autodiscover issue,I think Holger have directed you on a right way,you can refer the parts "Exchange connectivity" and "Troubleshooting Exchange integration" of the document he gave to you.

    You can also refer this article posted by Tom Pacyk

    http://www.confusedamused.com/notebook/lync-claims-ews-not-deployed/

    Regards,

    Sharon


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Tuesday, May 17, 2011 1:17 AM
  • Regarding the values in MAPIPollInterval, WebServicePollInterval, and CalendarStatePublicationInterval,they are the interval period for Lync to retrieves data from EWS or Calendar information from Outlook and add this data to your presence information.The details as following:

    WebServicePollInterval---specifies how often Lync 2010 retrieves data from Exchange Web Services(Default value is 30 mins,it can be set to any integer value between 5 minutes and 480 minutes ; inclusive.)

    MAPIPollInterval---specifies how often Lync 2010 retrieves calendar data from the Exchange public folders (Default value is 30 mins,it can be set to any value between 1 second and 1 hour; inclusive. )

    CalendarStatePublicationInterval---Specifies the amount of time, in seconds, that Lync 2010 waits before retrieving calendar information from Microsoft Outlook and adding this data to your presence information

    If your EWS works well and you haven't got the update informtion for a while you can set them to meet your request.

    Regards,

    Sharon


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Tuesday, May 17, 2011 1:41 AM
  • Sharon and Holger,

    You were correct. It was the autodiscover DNS issue. I am not sure how but during the migration
    from OCS 2007 to Lync the autodiscover DNS entry was deleted from DNS. I re-added it to DNS
    and within 5 minutes everything started working correctly.

    Thank you both for your help and suggestions. 

    Tuesday, May 17, 2011 4:00 PM