This article describes how to remove the LastActive
attribute from the aggregation state category in Microsoft Lync Server 2010, Lync Server 2013, Skype for Business Server 2015, and Skype for Business Online. Note
The Lync Server presence schema includes a method for calculating and displaying how long a user is away or offline. This is known as "Last Active." The LastActive
attribute returns presence inquiries only from users who have the "Colleagues," "Workgroup," and "Friends and Family" privacy relationships. For more information about presence information in Lync Server, see the "References" section.
Lync Server always calculates the Last Active time stamp during presence aggregation for each user and stores it in a database. Last Active presence information is retrieved to satisfy individual presence inquiries and subscriptions by other users. This occurs according to the access level that the users were assigned. The design of the Last Active presence information has changed for the following reasons:
- Last Active presence information may be incorrectly interpreted as reflecting the actual user's status at work. Therefore, users may rely on it to remotely monitor an employee's activity. However, this behavior is not enabled in some countries.
- Last Active presence information that's provided to users should not disclose how long a user is away or offline for business reasons.
The aggregate presence data that's calculated by Lync Server contains the status history of each user's endpoints if a user is signed to multiple endpoints. The status of each endpoint changes automatically in response to system events (such as logon, logoff, workstation lock and unlock, and network connectivity events), configured timeouts, scheduled meetings, and user activity. The status of each endpoint can also be changed manually by the user. In this situation, Last Active presence information should not be considered an accurate measure of the user's presence. Last Active presence information is intended only to provide additional information about the user’s availability and willingness to communicate.
For Lync Server 2010, Lync Server 2013, or Skype for Business Server 2015
For Lync Server 2010, to remove the LastActive
attribute from the aggregation state category, you must install the following update:
Description of the cumulative update for Lync Server 2010: June 2012
To remove the LastActive
attribute, add a configuration entry in the configuration file on each instance of the server for which you want to remove the LastActive
attribute. To do this, follow these steps:
- Create a text file, name it Rtcaggregate.exe.config, and include the following configuration entry:
<add key="PublishLastActive" value="false" />
- Save the file to the following folder:
- Lync Server 2010: %Installation Folder%\Microsoft Lync Server 2010\Server\Core\
- Lync Server 2013: %Installation Folder%\Microsoft Lync Server 2013\Server\Core\
- Skype for Business Server 2015: %Installation Folder%\Skype for Business Server 2015\Server\Core\
- Copy this file to the path that's specified in step 2 on every front-end computer in the pool in which you want to remove the LastActive attribute.
- Restart the Front-End Server service (RtcSrv or RtcHost) to apply these changes.
This resolution affects only new data that's published after the update is applied. It does not fix old data. Users must change their presence manually or by signing in for the LastActive
attribute to be removed.
For Skype for Business Online
Skype for Business Online provides tenant administrators to remove the LastActive
attribute through tenant Remote PowerShell. To do this, follow these steps:
- Configure your computer for Skype for Business Online management. To do this, see Using Windows PowerShell to manage Skype for Business Online
- Start a Skype for Business Online Windows PowerShell session.
- Check the current LastActive attribute policy that's assigned to your tenant. To do this, run the Get-CsUserServicesPolicy cmdlet. The result resembles the following:
PS C:\Users\TenantAdmin> Get-CsUserServicesPolicy
Identity : Global
UcsAllowed : False
MigrationDelayInDays : 0
EnableAwaySinceIndication : True
- Disable the LastActive attribute. To do this, run the following cmdlet:
Note you may see a warning about unified contact store. You can safely ignore this warning.
- Recheck the LastActive attribute policy. The result resembles the following:
PS C:\Users\bdeakyne> Get-CsUserServicesPolicy
Identity : Global
UcsAllowed : False
MigrationDelayInDays : 0
EnableAwaySinceIndication : False
- The LastActive attribute will be disabled after some hours.
- Users must restart (change presence manually or sign out and then sign back in again) before the LastActive attribute is removed from their presence.
- After the publisher has republished, subscribers must sign out and then sign back in again before the LastActive attribute no longer appears.
- There is also a known issue in Skype for Business Online (see the "Known issues" section) in which outdated or inaccurate LastActive information is occasionally displayed.
To work around this issue, users can change the privacy relationship of other users to the External Contacts
option. In this configuration, other users can see less information than in the other privacy relationship options. For example, in this configuration, other users cannot see a meeting's subject and location.
In Skype for Business Server 2015 and Skype for Business Online, the LastActive
attribute occasionally shows outdated information (for example, a user may see a colleague who was online yesterday as "Offline 88 days"). This behavior may occur even when the LastActive
attribute is disabled.
For more information, see The LastActive attribute provides inaccurate information about a user’s status in Skype for Business Online
Article ID: 2684128 - Last Review: June 12, 2015 - Revision: 7.0
- Microsoft Lync Server 2013
- Microsoft Lync Server 2010 Standard Edition
- Microsoft Lync Server 2010 Enterprise Edition
|kbqfe kbfix kbsurveynew kbexpertiseinter KB2684128|