I just started using Azure, and I have to deal with problems using PowerShell cmdlets to work with my storage account.
I created a vault account and a container in this vault account. Then I installed the Azure Powershell SDK and gave the command, etc. And imported the publication file. When I make a Get-AzureSubscription or Get-AzureStorageAccount command, it correctly displays my subscription in the PowerShell console along with various storage endpoints.
However, if I make a call to Get-AzureStorageBlob or Set-AzureStorageBlobContent, I get the following error:
Get-AzureStorageBlob : Can not find your azure storage credential. Please set current storage account using "Set-AzureSubscription" or set the "AZURE_STORAGE_CONNECTION_STRING" environment variable.
I'm literally at the tips here. A Google search on this error line only causes code links on Github, etc. Really appreciate some help.
powershell azure azure-storage-blobs
Nikhil Sep 13 '13 at 9:51 on 2013-09-13 21:51
source share