Having a hell of a day with Azure Powershell.
After much effort, I've got some of the commandlets working e.g. Get-AzureSubscription -Current returns details of my subscription.
Not sure if this is relevant, but one of the details it returns is CurrentStorageAccountName which is empty. Not sure if that is the same as target of the Get-AzureStorageAccount commandlet.
Get-AzureStorageAccount returns the following, verbatim:
Get-AzureStorageAccount : An error occurred while sending the request. At line:1 char:1 + Get-AzureStorageAccount -StorageAccountName "mensch" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-AzureStorageAccount], HttpRequestException + FullyQualifiedErrorId : System.Net.Http.HttpRequestException,Microsoft.WindowsAzure.Commands.ServiceManagement.S torageServices.GetAzureStorageAccountCommand
I assumed that when I ran Set-AzureSubscription commandlet earlier that it succeeded, but it gives no message either way. But I uploaded a certificate and ran that command with the relevant thumbprint and thought I was on my way.
Any ideas why Get-AzureStorageAccount is not working for me?