Skip to main content

List Resource Groups

Gets all the resource groups for a subscription.

External Documentation

To learn more, visit the Azure documentation.

Basic Parameters

ParameterDescription
Subscription IDThe ID of the target subscription.

Advanced Parameters

ParameterDescription
FilterThe filter to apply on the operation. You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'.

Example Output

[
{
"id": "/subscriptions/a303ce4e-302e-471a-8188-4dab418ce9ea/resourceGroups/cloud-shell-storage-westeurope",
"name": "cloud-shell-storage-westeurope",
"type": "Microsoft.Resources/resourceGroups",
"location": "westeurope",
"properties": {
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/a303ce4e-302e-471a-8188-4dab418ce9ea/resourceGroups/DefaultResourceGroup-EUS",
"name": "DefaultResourceGroup-EUS",
"type": "Microsoft.Resources/resourceGroups",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
]

Workflow Library Example

List Resource Groups with Azure and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop