Skype Front End Server Deployment Wizard Fails to Start Services When Automated

Neil676 1 Reputation point
2024-03-21T15:24:26.03+00:00

I am automating the deployment of Skype for Business Server 2019 front end servers on a Server 2022 OS on prem. When using the commands below to run step one of the deployment wizard, the Skype services fail to start, each with an error of "Check to make the the service is not disabled. Failure to start could also be because this front end was previously failed over". There is only a single standard edition server in it's own pool and this has been replicated on different systems. Manually running step one allows the services to start successfully. Any ideas why?

& 'C:\Program Files\Skype For Business Server 2019\Deployment\bootstrapper.exe' /Bootstraplocalmgmt /SourceDirectory:"C:\OCSVolume\Setup\amd64"
$CSConfigExp = Export-csconfiguration -asbytes
Import-CsConfiguration -Byteinput $CSConfigExp -LocalStore
Enable-CsReplica
Skype for Business
Skype for Business
A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.
604 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,373 questions
{count} votes