Closed hitenjava closed 5 years ago
@hitenjava
The cmdlet Get-AzTableRow
parameter -table
should accept type "CloudTable", but the output of cmdlet Get-AzStorageTable
is in type "AzureStorageTable", so they are not match.
Anyway, type "AzureStorageTable" has a child property "CloudTable" which is in the right type, so you should change the command in your script from
$storageTable = Get-AzStorageTable -Name $tableName -Context $ctx
to
$storageTable = (Get-AzStorageTable -Name $tableName -Context $ctx).CloudTable
You can also find more details for the right usage in: https://docs.microsoft.com/bs-latn-ba/azure/storage/tables/table-storage-how-to-use-powershell#reference-cloudtable-property-of-a-specific-table
@blueww I think we should be good to close this issue, but I wanted to double-check with you.
@hitenjava We will close the issue now as it's already answered. Feel free to let us know if you need any further assistant.
@blueww I am facing the same issue, I changed my code to
$storageTable = (Get-AzStorageTable -Name $tableName -Context $ctx).CloudTable.
But no luck..Can you pls help/suggest here
@spparida Please share the details:
Description
Steps to reproduce
Environment data
Module versions
Debug output