Could you help with the container’s assessing error ?
Hello,
I tried to create three containers in my Storage Account. It went went and the containers were created.
But there was a problem when I tried to access the container. It said that “This request is not authorized to perform this operation using this permission”. I don’t undertand the error message and I don’t know how to fix it. Could you please help.
Attached is my Power Shell script for creating the three containers.
Hello, I tried to create three containers in my Storage Account. It went went and the containers were created.But there was a problem when I tried to access the container. It said that “This request is not authorized to perform this operation using this permission”. I don’t undertand the error message and I don’t know how to fix it. Could you please help. Attached is my Power Shell script for creating the three containers. $MultipleContainers = @( ‘containera’ ‘containerb’ ‘containerc’ ) #$MultipleContainers | ForEach-Object {$_.Name} foreach ($ContainerName in $MultipleContainers){ if (Get-AzStorageContainer -name $ContainerName -Context $StorageAccount.Context){ ‘AZStorageContainer already exist’ $StorageContainer = Get-AzStorageContainer -name $ContainerName -Context $StorageAccount.Context } else { ‘Creating Storage Container’ $StorageContainer = New-AzStorageContainer -name $ContainerName -Context $StorageAccount.Context ` -Permission Blob } } Read More