How to Get a List of All Azure Resources
Sometimes you may need to see all the resources in your Azure subscription—for example, when checking billing, cleaning up unused items, or troubleshooting. Azure provides multiple ways to fetch this information.
Option 1: Using the Azure Portal
Sign in to the Azure Portal.
In the left-hand menu, select All Resources.
You will now see a list of all resources across your subscription.
You can filter by Resource Group, Region, or Type.
Use the Download button (top-right) to export the list as CSV (recommended for most cases) or JSON.
Option 2: Using Azure CLI
If you prefer command line:
Install Azure CLI (if not already installed).
Log in:
az login
List all resources in your subscription:
az resource list --output table
--output table
shows a clean view.You can also use
--output json
for detailed JSON format.
Example:
az resource list --query "[].{Name:name, Type:type, Location:location}" --output table
Option 3: Using Azure PowerShell
Install Azure PowerShell.
Log in:
Connect-AzAccount
Run:
Get-AzResource
This lists all resources.
You can filter further, e.g.:
Get-AzResource | Select-Object Name, ResourceType, Location
Tips
If you have multiple subscriptions, make sure you’re in the correct one:
az account set --subscription "SUBSCRIPTION_NAME"
For large environments, exporting the list to CSV or JSON makes it easier to filter and analyze.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article