I was trying to migrate to the new Powershell Toolkit version 9.11.1.2208 and observe the following error:
PS> Connect-NcController cluster -cred $cred
Name Address Vserver Version
---- ------- ------- -------
cluster 10.1.1.1 NetApp Release 9.10.1P8: Tue Sep 13 14:10:13 UTC 2022
PS> Get-NcNetDeviceDiscovery
Get-NcNetDeviceDiscovery: [400]: The value "discovered_devices" is invalid for field "fields" (<field,...>)
When I use it with -ZAPICall it works fine. Looks like a bug to me.