This setting helps resolve scenarios where the VDA was shut down, but the hypervisor did not correctly report the power state as 'off'
In such cases, session data may be retained, and if the VDA fails to complete this transition, the broker may incorrectly assume the VDA is active but unregistered and still holding a session.
This can prevent users from launching new sessions, resulting in failed connection attempts with an error "Session limit reached" or "Unavailable capacity"
hypervisor did not correctly report the power state as 'off'
• Install the Citrix Cloud Powershell SDK on a Machine
• Do NOT install the Citrix Cloud Powershell SDK on a Citrix Cloud Connector or an On-Premise Citrix Delivery Controller.
• Open Microsoft Powershell as an Administrator
• Run the following commands:
• Asnp Citrix*
• Get-XDAuthentication
• Log in with the Citrix Cloud Administrator Credentials
Set-BrokerServiceConfigurationData Core.IgnoreUnexpectedAgentShutdown -SettingValue $false
Citrix Director showing connection failed due to Unavailable capacity error or Session limit reached