I am trying to configure the mange ACL for a container in the storage account. I have owner permission to the subscription as well as the SA. I tried executing the directory access set commands as shown below and are getting the same error:
az storage blob directory access set -a "group:$superuser:rw-" -c "$web" -d . --account-name mystorage --auth-mode key --account-key mykey
az storage blob directory access set -a "group:$superuser:rw-" -c "$web" -d . --connection-string myconnectionstring
az storage blob directory access set -a "group:$superuser:rw-" -c "$web" -d . --account-name mystorage --sas-token mysastoken
Below is the error from the above. I have explicitly added my account to the mentioned roles and still no luck.
This command is implicitly deprecated because command group 'storage blob directory' is deprecated and will be removed in a future release. Use 'az storage fs directory' instead.
Command group 'storage blob directory access' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following roles:
"Storage Blob Data Contributor (Preview)"
"Storage Blob Data Reader (Preview)"
"Storage Queue Data Contributor (Preview)"
"Storage Queue Data Reader (Preview)"
If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value.
Looking for some help.