Hi @Kothai Ramanathan (SC-ALT) ,
The error says that the Get-AzStorageTable is not a recognized cmdlet so you would have to make sure the right version of the Az.Storage module is imported in your Azure Automation account which contains Get-AzStorageTable cmdlet as part of it.
In my testing, I see the Get-AzStorageTable cmdlet is present as part of Az.Storage module current version 6.11 so you may check which version of Az.Storage module you have in your Azure Automation account and update it to the 6.11 version as shown below. Note that it has dependency of having Az.Accounts module of version >= 2.15.1 so make sure you meet the dependency first and then import the Az.Storage module versioned 6.11, may be as illustrated in below screenshots.
Once the dependencies and the required modules are successfully imported, execute your runbook with below command and see if you are getting an output. If yes, then you are good to use Get-AzStorageTable cmdlet in your runbook.
Get-Module Az.Storage | ?{$_.ExportedCommands.Keys -like '*Get-AzStorageTable*'}
If this didn't help, execute below command in a runbook and see if you get output with multiple modules. The ask is because we wanted to make sure that cmdlet doesn't exist in another module along with Az.Storage module. If that's the case, then Automation can't resolve the cmdlet and hence the error.
Get-Module | ?{$_.ExportedCommands.Keys -like '*Get-AzStorageTable*'}
References: