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

Advertisement

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

SfB Server 2015: Prerequisite installation failed: RewriteModule…failure code 1603

While deploying a new Skype for Business Server 2015 Pool in the lab we got the following error message in the Deployment Wizard Step 2 (bootstrap): Installing rewrite_2.0_rtw_x64.msi( REBOOT=ReallySuppress )...failure code 1603 -------------------- Error Message from rewrite_2.0_rtw_x64.msi---------------------------- Property(S): TTCSupport = 1 Property(S): Time = 11:25:19 Property(S): Date = 4/10/2020 Property(S): MsiNetAssemblySupport = 4.6.1586.0 Property(S): MsiWin32AssemblySupport … Continue reading SfB Server 2015: Prerequisite installation failed: RewriteModule…failure code 1603

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

SfB Server: Cannot install SQL Server 2014 Express SP3

While installing the SQL Server 2014 SP3 we experience the following error: SQL Server Setup has encountered the following error: Exception has been thrown by the target of an invocation. Here is the cmdlet we use: SQLEXPR_x64_ENU.exe /ACTION=Patch /AllInstances /IAcceptSQLServerLicenseTerms Looking at the SQL Setup Bootstrap log we have an exception: C:\Program Files\Microsoft SQL Server\120\Setup … Continue reading SfB Server: Cannot install SQL Server 2014 Express SP3

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

Invoke-CsComputerFailOver : Command execution failed: Insufficient number of computers

During a test we could not fail over a Skype for Business Front End server with the following error: Invoke-CsComputerFailOver -ComputerName <Server FQDN> https://docs.microsoft.com/powershell/module/skype/invoke-cscomputerfailover WARNING: Invoke-CsComputerFailOver failed. WARNING: Detailed results can be found at "C:\Users\Administrator.RECORE\AppData\Local\Temp\2\Invoke-CsComputerFailOver-59928429-ed4f-4954-b5de-d69b11290780.html". Invoke-CsComputerFailOver : Command execution failed: Insufficient number of computers (only 2 nodes would remain active) to maintain the minimum number of … Continue reading Invoke-CsComputerFailOver : Command execution failed: Insufficient number of computers

SfB Server 2015 (KB4464355) could not be installed. Error code 1603.

While installing the Skype for Business Server 2015 CU8 on the Edge Server we had the following error: In the Server.msp-SFBEDGE01-[2019-01-24][10-36-34]_log: MSI (s) (C0:B4) [10:37:04:023]: Executing op: CustomActionSchedule(Action=CA_InstallDBonPatchInstall,ActionType=3073,Source=BinaryData,Target=ExecuteCommand,CustomActionData=powershell -noprofile -command " & Install-CsDatabase -Update -DatabaseType Registrar -Verbose "|C:\Windows\system32\\WindowsPowerShell\v1.0\powershell.exe|C:\Windows\system32\) MSI (s) (C0:B4) [10:37:04:027]: Creating MSIHANDLE (10878) of type 790536 for thread 4788 MSI (s) (C0:20) [10:37:04:027]: Invoking remote … Continue reading SfB Server 2015 (KB4464355) could not be installed. Error code 1603.