Page 1 of 1

Error gridview via Get-AzWvdHostPool

Posted: Tue Jan 12, 2021 1:49 am
by stevens
Hi,

I'm loading Get-AzWvdHostPool in a gridview but then get error
Screenshot_1.png
Screenshot_1.png (6.91 KiB) Viewed 373 times
Though error, it loads fine but errors keep popping up. Also when I close them, they reappear;
When I load limited set of properties via (Azure cmdlet to get hostpools from WVD) Get-AzWvdHostPool | select Name, HostPoolType, LoadBalancerType, MaxSessionLimit it loads without errors but I'd need all values

Can't I simply ignore the errors/preventing popups (could find out which property is the wrong type but that wouldn't help me a lot, it's a value I get via the cmdlet)?

S

Re: Error gridview via Get-AzWvdHostPool

Posted: Tue Jan 12, 2021 1:09 pm
by jvierra
That happens when you try to insert an object into a field. You must only insert value type or objects that cast to strings.