@Gene Chu I assume you need to use --auth-mode login, am I correct, If not please correct me?
For that you need to grant RBAC role according to https://learn.microsoft.com/en-us/azure/storage/common/storage-auth-aad-rbac-portal?toc=/azure/storage/blobs/toc.json#rbac-roles-for-blobs-and-queues.
For more information about ACLs, you can refer to https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-access-control#role-based-access-control.
You can also refer to this thread How RBAC works on Azure Storage
Additional information: This command az storage blob list is not deprecated as mentioned on the command output. We identified that there’s an extension(storage-preview) which is in preview, installed on your machine and this seems to be altering the blob list command behavior with this warning.
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/storage/docs/ADLS%20Gen2.md
Azure CLI commands for data operations against Blob storage support the --auth-mode parameter, which enables you to specify how to authorize a given operation. Set the --auth-mode parameter to login to authorize with Azure AD credentials. For more information, see Authorize access to blob or queue data with Azure CLI.
Note: Also check you have latest CLI version or try the above mentioned commands in cloud shell( Azure Portal)
Please let us know if you have any further queries. I’m happy to assist you further.
Looking forward for your reply!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please do not forget to and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.