Getting presence of users in a federated domain using applicationEndpoint

Unanswered Getting presence of users in a federated domain using applicationEndpoint

  • Tuesday, February 28, 2012 6:54 PM
     
     

    We have an application that is using an applicaitonEndpoint. One of the things it needs to do is get the presence of a set of users in the local domain (the domain the app is running in) and in other domains which are federated with the main domain. So, first using the subscribePresenceView, we generally see the presence of the federated users, but not always. I can't discern any pattern in when it works and when it doesn't. Sometimes, it just takes a very long time for the presence update to come in and sometimes, the updates just never come in (at least in a reasonable time). I don't see any subscriptionChanged events or any events that indicate anything is not working. And it's not like it's only certain users that we see and some we don't see; the behavior appears random. 

    One thing we tried was to not subscribe to presence and just ask for the presence of the federated users (using BeginPresenceQuery), and while we get back a presence notification when we ask for their presence, The AggregateState is always null. I am certain the code asking for presence is good, and there are no exceptions when this runs; but we don't see any aggregateState. It's weird that we see nothing when we do it this way, but when we subscribe for presence on the same users, we mostly get their presence, but it's flaky. I have a feeling it's the same issue that causes both bad behaviors here.

    Could there be something not configured right; I am not too familiar with the configuraiton that happens for federation. Could it be related to using an applicaitonEndpoint (there are some other posts that show some flaky presence behavior when using them)?

    Thanks for any ideas you might have.

    Mike


    mike castillo

All Replies

  • Thursday, April 26, 2012 1:56 PM
     
     

    I have the same behavior. Last update  Lync Server 2010 Hotfix KB 2493736 doesn't resolve a problem. Have you tried to use userEndPoint instead applicationEndpoint for federated users?


    • Edited by this.func Thursday, April 26, 2012 1:57 PM
    •