Symptoms
This issue can take place under the following circumstances:
- Lync users are experiencing issues with their presence information, meeting management or participating in conferences
- Lync Server maintenance is scheduled to run during business hours
Cause
Lync Server maintenance is scheduled to run while the Lync Server environment is operating at expected user capacity. This can cause contention with the Lync user experience.
Resolution
To view the Lync Server MaintenanceTimeOfDay value use the Get-CsUserServicesConfiguration PowewrShell cmdlet as follows:
Using Server 2008 or Server 2008 R2
Get-CsUserServicesConfiguration -Identity site:Redmond
Note Using the Get-CsUserServicesConfiguration PowerShell cmdlet requires permissions equivalent to members of the RTCUniversalUserAdmins or RTCUniversalServerAdmins security groups.
To update the Lync Server maintenance schedule settings use the Set-CsUserServicesConfiguration PowewrShell cmdlet with the MaintenanceTimeOfDay parameter
From the Lync Server Management shell execute the Set-CsUserServicesConfiguration PowerShell cmdlet as per the example listed below:
Get-CsUserServicesConfiguration -Identity site:Redmond -MaintenanceTimeOfDay "13:30"
Note The MaintenanceTimeOfDay value must be entered in 24 hours clock time format.
Note Using the Set-CsUserServicesConfiguration PowerShell cmdlet requires permissions equivalent to members of the RTCUniversalServerAdmins security group.
Using Server 2008 or Server 2008 R2
- Click on Start, All Programs, Microsoft Lync Server
- Choose Lync Server Management Shell
- Press the Windows logo key to access the Start Page
- Click on the Lync Server Management Shell tile
Get-CsUserServicesConfiguration -Identity site:Redmond
Note Using the Get-CsUserServicesConfiguration PowerShell cmdlet requires permissions equivalent to members of the RTCUniversalUserAdmins or RTCUniversalServerAdmins security groups.
To update the Lync Server maintenance schedule settings use the Set-CsUserServicesConfiguration PowewrShell cmdlet with the MaintenanceTimeOfDay parameter
From the Lync Server Management shell execute the Set-CsUserServicesConfiguration PowerShell cmdlet as per the example listed below:
Get-CsUserServicesConfiguration -Identity site:Redmond -MaintenanceTimeOfDay "13:30"
Note The MaintenanceTimeOfDay value must be entered in 24 hours clock time format.
Note Using the Set-CsUserServicesConfiguration PowerShell cmdlet requires permissions equivalent to members of the RTCUniversalServerAdmins security group.
More Information
When the Lync Administrator makes changes to the Lync Server maintenance schedule the following informational message will be listed in the Lync Server event log.
Log Name: Lync Server
Source: LS User Services
Event ID: 30925
Task Category: (1006)
Level: Information
Keywords: Classic
User: N/A
Description:
New user Services Settings applied:
MinPresenceSubscriptionExpiry: 1200.
DefPresenceSubscriptionExpiry: 28800.
MaxPresenceSubscriptionExpiry: 43200.
MaintenanceHourOfDay: 11.
MaxSubscriptionPerUser: 200.
MaxContacts: 250.
MaxScheduledMeetingsPerUser: 1000
For more details on using the Lync Server PowerShell commands for scheduled maintenance, review the Microsoft TechNet information listed below:
Get-CsUserServicesConfiguration
Set-CsUserServicesConfiguration
Log Name: Lync Server
Source: LS User Services
Event ID: 30925
Task Category: (1006)
Level: Information
Keywords: Classic
User: N/A
Description:
New user Services Settings applied:
MinPresenceSubscriptionExpiry: 1200.
DefPresenceSubscriptionExpiry: 28800.
MaxPresenceSubscriptionExpiry: 43200.
MaintenanceHourOfDay: 11.
MaxSubscriptionPerUser: 200.
MaxContacts: 250.
MaxScheduledMeetingsPerUser: 1000
For more details on using the Lync Server PowerShell commands for scheduled maintenance, review the Microsoft TechNet information listed below:
Get-CsUserServicesConfiguration
Set-CsUserServicesConfiguration