Hi All,
We're using PowerCLI 11.4 to pull back information about our VMC SDDCs. Sometime this weekend the method we're using stopped working.
This is a minimal way to reproduce the issue:connect-vmc -apitoken <token>
$org=get-vmcorg
$sddcsvc=Get-VmcService -Name com.vmware.vmc.orgs.sddcs
$sddcsvc.list($org.id)
This method returns an exception with error message 'Unable to cast object of type 'vmware.vapi.data.OptionalValue' to type 'vmware.vapi.data.StringValue'.' with the attached stack trace.
I'm wondering if anyone else is seeing this. It seems to be happening at the nexus between PowerCLI and the VMC API so I'm not sure which team would be able to address it.
Thanks