I have faced with strange issue in time of conversion of json to the objects array
$response = Invoke-WebRequest -Method Get -UseDefaultCredentials -Uri $url;
$result = ConvertFrom-Json -InputObject $response
write-host $result
It returns empty collection (value=System.Object[]
) despite the json is full of content.
Could you please advise possible cause and solution of this issue?
PS. It works fine when URL contains specific Key and has issue only for the GetAll case.