On-premises StoreFront MMC crashes during Add Server / Server Group Join

book

Article ID: CTX696740

calendar_today

Updated On:

Description

Citrix StoreFront MMC crashes when you add/join a secondary StoreFront server to the existing server group. The crash occurs before the authorization code generation during the “Add Server” operation.

 

image.png

Cause

From the strefront verbose logs, we see the following exception is thrown -

Failed to get the feature instance file:

Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces.Exceptions.PowerShellExecutionException: Failed to set process execution policy.
   at Citrix.DeliveryServices.PowerShell.Command.Runner.CommandRunnerFactory.SetProcessExecutionPolicy()
   at Citrix.DeliveryServices.PowerShell.Command.Runner.CommandRunnerFactory.Create(Boolean forceNewRunspace)
   at Citrix.DeliveryServices.ConfigurationReplication.PowerShell.ConfigurationReaderBL.RefreshClusterMembers()
   at Citrix.DeliveryServices.ConfigurationReplication.PowerShell.ConfigurationReaderBL.GetClusterMemberCertificateThumbprint(String hostname)
   at Citrix.DeliveryServices.ConfigurationReplication.WCF.ConfigurationReplication.CertifyClusterMember(String hostname)
   at Citrix.DeliveryServices.ConfigurationReplication.WCF.ConfigurationReplication.GetServiceState() [058f9126-ebe5-

0002-a3d7-a705e5ebdc01]

Resolution

Set the execution policy from powershell manually using command Set-ExecutionPolicy -ExecutionPolicy 'RemoteSigned' and also check Get-ExecutionPolicy -List to see if any policy restriction, then try adding server again

Issue/Introduction

Citrix StoreFront MMC crashes when you add/join a secondary StoreFront server to the existing server group. The crash occurs before the authorization code generation during the “Add Server” operation.