Using Console
Using CLI
az login
.az account set --subscription <subscription-id>
.az storage account list
.az storage account update --name <storage-account-name> --resource-group <resource-group-name> --default-action Deny
.<subscription-id>
, <storage-account-name>
, and <resource-group-name>
with the actual values from your environment.After executing the above command, the storage account will be updated to deny public access, and only authorized traffic will be allowed to access the storage account.Using Python