I've been trying this for some time now. Here's my Powershell:
$storSas = "sas-generated-with-windows-storage-explorer"
$StorageAccountName = "storageacc"
$containerName = "some-cont-name"
$clientContext = New-AzureStorageContext -SasToken $storSAS -StorageAccountName $StorageAccountName
# upload a file
Set-AzureStorageBlobContent -File "F:\somefile" `
-Container $containerName `
-Blob "somefile" `
-Context $ClientContext
And every time I get:
The remote server returned an error: (403) Forbidden. HTTP Status Code: 403 - HTTP Error Message: This re quest is not authorized to perform this operation using this permission.
My policy has Write and List permissions, why do I get this error?