Open saiabhilash opened 1 year ago
According to how $top is explained in https://learn.microsoft.com/en-us/rest/api/storageservices/query-tables, one should set $top to 1000. Although it works against a different account endpoint, the best practice is still to set it to 1000.
Thank you @PaulCheng. It would have been nice if there is an error instead of returning 0 items when $top is greater than 10000 in our case. Is there a way to get the error and see why it is failing when trying to fetch 10000 items?
Describe the bug Hi, in one of the server, we see that Get-AzTableRow returns 0 items when -Top is set to 10000, but it can fetch 1000 rows when -Top is set to 1000. The same command works in another server, but not sure what is the issue in that server.
Error Message No error message. The command simply returns 0 rows.
PowerShell Version Include here the full output of the following command line: Get-AzTableRow -table $cloudTable -customFilter "(PartitionKey eq '$partitionKey')" -Top 10000 -ErrorAction Stop;
$PSVersionTable
Name Value
PSVersion 7.3.1 PSEdition Core GitCommitId 7.3.1 OS Microsoft Windows 10.0.22621 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0