To get this to work I had to add the -AsArray property to the concerto-json command. $JSON = Convertto-Json $request -AsArray
To get this to work I had to add the -AsArray property to the concerto-json command.
$JSON = Convertto-Json $request -AsArray