Lync/SfB PowerShell scripts

Probably the last post related to Lync/Skype for Business Server in UC Lobby... Since the first post on this blog (Enabling Trace Log in Office Communicator, Lync 2010 and Lync 2013 - May 2013) the focus has been to share information related to Lync/Skype for Business. With the release of Microsoft Teams customers started their … Continue reading Lync/SfB PowerShell scripts

Lync/SfB Server: How to fix msRTCSIP-DeploymentLocator when it’s empty/not set

While working on a support case we notice that the AD Attribute msRTCSIP-DeploymentLocator wasn't set for some Skype for Business enabled users. These users could sign in and use the Skype for Business features, however, we decided to make sure all SfB OnPrem users had the correct value - "SRV:" We can use the following … Continue reading Lync/SfB Server: How to fix msRTCSIP-DeploymentLocator when it’s empty/not set

Lync/SfB Server: Certificate assignment location

Usually to check the Lync/SfB Server assigned certificates we simply use the Certificate Wizard (Step 3 in the Lync/SfB Deployment Wizard): Or we can also use a PowerShell cmdlet: Get-csCertificate https://docs.microsoft.com/powershell/module/skype/get-cscertificate However, there is another way... We can go directly to where the assigned certificates information is located. The certificate assignment is stored in XML, … Continue reading Lync/SfB Server: Certificate assignment location

Lync/SfB Server: Rebuilding the SQL Local Databases

While troubleshooting an issue where the Front End Service wasn't starting, we notice that the Event Viewer > Applications and Services Logs > Lync Server had references to the local database unavailability: Log Name: Lync Server Source: LS User Services Date: 02/01/2019 14:18:40 Event ID: 32122 Task Category: (1006) Level: Warning Keywords: Classic User: N/A Computer: sfbfe01.recore.lab … Continue reading Lync/SfB Server: Rebuilding the SQL Local Databases

Cannot remove the Director Pool – Users or Contacts are associated to it.

While trying to decommissioning a Lync Server 2013 Director Pool we got the following error message when we publish the new topology: This wasn't expected since a Director Pool shouldn't have users associated with it. After troubleshooting the issue, we notice that some users had the attribute msRTCSIP-PrimaryHomeServer associated to the Lync Server 2013 Director … Continue reading Cannot remove the Director Pool – Users or Contacts are associated to it.

Lync/SfB Server: Quickly access the Certificate Store

In a previous post we wrote about the Checks to do in the Lync/Skype for Business Server Certificate Store, however, sometimes we might also want to manually check it using the Certificate Store MMC. Since Windows Server 2012 and Windows 8 we can quick access the Certificate Store MMC, for Local Computer and Current User, using Command Prompt/PowerShell or the … Continue reading Lync/SfB Server: Quickly access the Certificate Store

Lync/SfB Server: Stop Front End service in Starting state

Some of the cases we work have the Front End service in a Starting state: In PowerShell the status is StartPending: We cannot stop it on the Services Management Console: We can go to Task Manager and try to manual stop the service: If that doesn't work we need to Go to Details and End task that is associated with … Continue reading Lync/SfB Server: Stop Front End service in Starting state

Lync/SfB Server: Event 41026, LS Data MCU after May 2017 .NET Framework update

Update 2017/06/28 – In Workaround #1 we also need to request new Front End certificates with Client and Server authentication in the EKU. Recently we notice that Lync Server 2010/2013 and Skype for Business Server 2015 Front Ends were generating the Events 41025 and immediately after the Event 41026: Log Name: Lync Server Source: LS … Continue reading Lync/SfB Server: Event 41026, LS Data MCU after May 2017 .NET Framework update

Lync/SfB Server: Manually update the Edge Server Configuration

In a recent support case we had a case that the customer had some urgency to add a new Allowed Domain to be quickly pushed to his Skype for Business 2015 Edge Servers. However, the replication wasn't working: Get-CsManagementStoreReplicationStatus | ft -AutoSize https://docs.microsoft.com/powershell/module/skype/Get-CsManagementStoreReplicationStatus An easy solution to this is to perform a manual update and … Continue reading Lync/SfB Server: Manually update the Edge Server Configuration

Lync/SfB Server: Test-CsDatabase uses local server to determine ExpectedVersion

While doing some lab testing we notice the Test-CsDatabase uses the local server current update to verify which is the expected version. As an example, in our lab we have pool.gears.lab with January 2014 Cumulative Update and it will return the following: Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn sql01.gears.lab | Select SqlServerFqdn, SqlInstanceName, DatabaseName, InstalledVersion, ExpectedVersion | ft -AutoSize … Continue reading Lync/SfB Server: Test-CsDatabase uses local server to determine ExpectedVersion