Citrix Licensing - powershell cmdlets failing with CommunicationError

Citrix Licensing - powershell cmdlets failing with CommunicationError

book

Article ID: CTX692880

calendar_today

Updated On:

Description

Citrix.Licensing.Admin.V1 cmdlets (Get-LicCertificate, Get-LicInventory) stopped working after License Server upgrade to 11.17.2.0. Build 51000.

Citrix Licensing PowerShell Snap-In is installed and used directly on the License Server.

Error: CommunicationError

CategoryInfo: InvalidOperation

Example:

 

Resolution

Make sure the version of Citrix Licensing PowerShell Snap-In is recent.

You can find installer: LicensingAdmin_PowerShellSnapin_x64.msi on the Citrix Virtual Apps and Desktops installation media in x64\Licensing folder.

 

This solution applies ONLY in the scenario where LicensingAdmin snap-ins are installed and used directly on the License Server or machine which does not have Citrix Studio or CVAD/Delivery Controller installed.
Please do NOT update PowerShell snap-ins on Delivery Controllers or machine with Studio.


Problem Cause

PowerShell snap-in version installed on the License server was very old.