Microsoft recently released a security update for Skype for Business Patch Security update for Skype for Business Server and Lync Server: May 11, 2021 (KB5003729). After applying the patch, you you started to get this error:
Unable to retrieve Skype for Business attributes
System.Management.Automation.RemoteException: The syntax is not supported by this runspace. This can occur if the runspace is in no-language mode.
This is a similar message
Release : 14.2, 14.3, 14.4, 14.5
Component : CA IDENTITY SUITE (both VIRTUAL APPLIANCE and stand-alone on-premises deployments)
Known Issue from Microsoft: It's a similar problem we experienced with exchange server when Microsoft released security patches for exchange (see IM provisioning error: "The syntax is not supported by this runspace" after applying Microsoft Exchange Server patch KB5001779 about Exchange) but this issue is about Skype for Business Server and Lync Server.
Known Issue:
The syntax is not supported by this runspace. This can occur if the runspace is in no-language mode.
This behavior is expected; please change any code using .AddScript() to use .AddCommand() for continued compatibility.
The hotfixes have been published at https://support.broadcom.com/ so that you can download them from the support site. Below are the links for 14.2, 14.3, and 14.4 respectively.