[Solved] give acess to users in directory StorageV2 (general purpose v2)


You can do this with the Azure CLI which can be run in Powershell. You should be able to do this as a contributor with the az role assignment create command.

Keep in mind that permissions with this command are granted at the container scope. Data Lake storage could be used to give folder level permissions. Blob storage doesn’t actually have folders, it’s just displayed that way so that it is easier to navigate.

az role assignment create \
    --role "Storage Blob Data Contributor" \
    --assignee <email> \
    --scope "/subscriptions/<subscription>/resourceGroups/<resource-group>/providers/Microsoft.Storage/storageAccounts/<storage-account>/blobServices/default/containers/<container>"

solved give acess to users in directory StorageV2 (general purpose v2)