> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Resources

List all the resources in a subscription.

* **Least privileged** Azure RBAC action required: `*/read` on the subscription.
* **Built-in role** that grants access: `Reader`.

<Note>
  External Documentation

  To learn more, visit the [Azure documentation](https://learn.microsoft.com/en-us/rest/api/resources/resources/list?view=rest-resources-2021-04-01).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                                                                                  |
  | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Expand          | The additional resource properties to include in the response.                                                                                                                                                                                                               |
  | Filter          | The filter to apply on the operation. Supports `eq`/`ne` comparisons on properties such as `location`, `resourceType`, `name`, and `resourceGroup`, plus `substringof()` and tag filters.<br /><br />**For example**: `resourceType eq 'Microsoft.Network/virtualNetworks'`. |
  | Subscription ID | The Microsoft Azure subscription ID.                                                                                                                                                                                                                                         |
  | Top             | The maximum number of resources to return per page.                                                                                                                                                                                                                          |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"id": "/subscriptions/a303ce4e-302e-471a-8188-4dab418ce9ea/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
			"name": "myVM",
			"type": "Microsoft.Compute/virtualMachines",
			"location": "eastus",
			"tags": {
				"environment": "production"
			}
		},
		{
			"id": "/subscriptions/a303ce4e-302e-471a-8188-4dab418ce9ea/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageacct",
			"name": "mystorageacct",
			"type": "Microsoft.Storage/storageAccounts",
			"location": "eastus",
			"tags": {}
		}
	],
	"nextLink": ""
}
```

## Workflow Library Example

[List Resources with Azure and Send Results Via Email](https://library.blinkops.com/workflows/list-resources-with-azure-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-resources-with-azure-and-send-results-via-email/canvas" />
</div>
