Configure OAuth authentication with AzureAD PowerShell Module

Looks like Lync/SfB PowerShell scripts - UC Lobby wasn't the last post for Skype for Business... While looking into a request to update the OAuth certificate I found some notes for an unpublished blog post. Here is that blog post with some additional information how to remove expired OAuth certificates. We already have detailed steps … Continue reading Configure OAuth authentication with AzureAD PowerShell Module

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

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

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: [code language="powershell" light="true"] $pshost = get-host $pswindow = $pshost.ui.rawui $newsize = $pswindow.buffersize $newsize.height = 3000 $newsize.width = 120 $pswindow.buffersize = $newsize $newsize = $pswindow.windowsize $newsize.height = 50 $newsize.width = 120 $pswindow.windowsize = $newsize [/code] However, this change is … 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