How do you view the entire storage in GB used in a Azure Tenant
- User
How do you view the entire storage in GB used in a Azure Tenant
- Assistant
To view the entire storage usage in GB for an Azure Tenant, you can use the Azure Portal or Azure PowerShell.
Using Azure Portal:
- Go to the Azure Portal (portal.azure.com)
- Log in with your Azure Tenant credentials.
- On the left-hand side menu, click on "All services" and search for "Storage accounts".
- Select "Storage accounts" from the results and it will show a list of all storage accounts in your Azure Tenant.
- In the storage accounts list, you can see the "Used capacity" column which represents the storage usage in GB for each account.
Using Azure PowerShell:
- Install Azure PowerShell if you don't have it already. You can download it from the official Microsoft website.
- User
What is the command
- Assistant
To directly view the entire storage usage in GB for an Azure Tenant using Azure CLI, you can use the following command:
az storage account list --query "[].{Name:name, Usage:primaryEndpoints.blob, Storage:gbUsed}" --output tableThis command will list all the storage accounts in your Azure Tenant along with their respective names, blob endpoint, and storage usage in GB.
Make sure you have the Azure CLI installed and authenticated with your Azure Tenant before executing this command.