Hello JR-Azure,
Greetings! Welcome to Microsoft Q&A Platform.
I understand that you are encountering an issue while fetching the storage account list via Azure CLI and getting error message.
Adding to below information, please consider checking this following troubleshooting doc for more details on resolution.
Also, when you disabled the public access to storage account then you must enable "Allow Azure services on the trusted services list to access this storage account" in the networking tab of the Storage Account.
- Verify "Allow Azure services on the trusted services list to access this storage account" checkbox is selected
- Whitelist the client IPs by adding the client's Public IP to the Storage Firewall and give it a check?
Similar issue thread for reference - https://github.com/Azure/azure-cli/issues/29904,
https://github.com/Azure/azure-cli/issues/28153
Hope this information helps! please let us know if you have any further queries. I’m happy to assist you further.
Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members