PSScript: Get Phone Registration from Log files

Recently a customer requested to get a phone inventory, usually we can simply use the Skype for Business Monitoring Report: The issue was that customer had around 6000 phones and this report is limited to 1000 (by design). One option could be change the SQL Stored Procedure that is executed when we run the IP … Continue reading PSScript: Get Phone Registration from Log files

SfB CLS Logging: Understanding the CacheFileLocalMaxDiskUsage

Recently, we were asked about the CacheFileLocalMaxDiskUsage setting in CLS Logging. The issue was when CacheFileLocalMaxDiskUsage was configured to 60% the CLS Logging was returning empty log files. This setting will look at the total disk space used and not specific to used space by CLS log folder. If we configure it to 60 it means … Continue reading SfB CLS Logging: Understanding the CacheFileLocalMaxDiskUsage

Cannot Move SfB OnPrem user to Teams – OAuth_Bearer did not return expected status code from request

We notice an error while trying to move a user from the Skype for Business 2019 OnPrem to Teams: Trying to move on-prem skype for business user to Teams and getting an error Noticed the issue today when i tried to move a user The error i see is Move-CsUser : Hosted Migration Service (https://admin1a.online.lync.com/HostedMigration/HostedMigrationService.svc/OAuth_Bearer) … Continue reading Cannot Move SfB OnPrem user to Teams – OAuth_Bearer did not return expected status code from request

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

Changing Lync/SfB Server PowerShell windows size

A quick way to change the Lync/SfB Server PowerShell window size is to run the following cmdlets: However, this change is temporary, when we open a new Lync/SfB Server PowerShell it will return to the default values. To modify the default values we need to change Layout settings in the Lync/SfB Server PowerShell shortcut properties: Lync … Continue reading Changing Lync/SfB Server PowerShell windows size

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