I want to use Azure storage as backup for my static files. I installed Azure PowerShell and connected to my subscription follow to this guide: http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/
Next step I went to my Azure portal and created storage:
Then I copied a primary storage key
and executed the command
$ctx=New-AzureStorageContext account-name account-key
with my storage account name (first field on image above) and primary account key. It's ok.
Then I try to create a share and get the error:
PS C:\> $s=New-AzureStorageShare mysd -Context $ctx
New-AzureStorageShare : The remote name could not be resolved: 'myxxxbackup.file.core.windows.net'
At line:1 char:4
+ $s=New-AzureStorageShare mysd -Context $ctx
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureStorageShare], StorageException
+ FullyQualifiedErrorId : StorageException,Microsoft.WindowsAzure.Commands.Storage.File.Cmdlet.NewAzureStorageShare
Why and how to solve this problem?