I need to change storage account container and blob access level to private. I have more than 200 storage accounts and more than 1000 containers in my subscription.
Please suggest quick solution to do the same.
Thanks in advance
I need to change storage account container and blob access level to private. I have more than 200 storage accounts and more than 1000 containers in my subscription.
Please suggest quick solution to do the same.
Thanks in advance
The easiest way would be to loop over all containers using powershell and set the permission to off.
$ctx = New-AzureStorageContext -StorageAccountName <name> -StorageAccountKey <key>
Get-AzureStorageContainer -Context $ctx | Set-AzureStorageContainerAcl -Permission Off -PassThru
More info: