Azure Resource Manager
App · 17 actions
Manage Azure subscriptions: create and delete resource groups, find resources and tag them, deploy and preview ARM templates, register resource providers and read the activity log. Start a workflow when a resource group or resource appears, a deployment succeeds or fails, or the activity log records an event.
Actions
| Action | What it does |
|---|---|
| Cancel deployment | Stop a deployment that is still running. |
| Create resource group | Create a resource group in a region. |
| Delete resource group | Delete a resource group and everything in it. |
| Deploy template | Deploy an ARM template to a resource group and, by default, wait for it to finish. |
| Get deployment | One deployment's state, outputs, the resources it made and, if it failed, why. |
| Get resource | Everything Azure says about one resource, given its ID, including the settings particular to its type. |
| Get resource group | One resource group's region, state and tags. |
| List activity log events | Who changed what in a subscription and when, from its activity log (the last 90 days), filtered by resource group, level, status or operation. |
| List deployments | The template deployments of a resource group, newest first. |
| List regions | The Azure regions a subscription can use, with the name other steps take, such as eastus. |
| List resource groups | The resource groups in a subscription, optionally only those with a tag. |
| List resource providers | The resource providers (Microsoft.Storage, Microsoft.Compute and the rest) and whether the subscription is registered to use each. |
| List resources | The resources in a subscription or resource group, filtered by type, name, region or tag. |
| List subscriptions | The Azure subscriptions the app has a role on, with each one's ID and state. |
| Preview deployment changes | See what deploying a template would create, change or delete, without deploying it (Azure's what-if). |
| Register resource provider | Let a subscription use a kind of resource, such as Microsoft.Storage, the first time. |
| Update tags | Add, replace or remove the tags on a resource or a resource group. |
Cancel deployment
Stop a deployment that is still running. Resources it already made stay. A deployment that has finished is left as it is.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptextRequired - The resource group. Pick one, or give its name from an earlier step.
- Deployment
deployment_nametextRequired - The deployment. Pick one, or give its name from an earlier step.
Outputs
canceledtrue/false- False if it had already finished
deploymentobject- The deployment
Example output
{
"canceled": true,
"deployment": {
"correlation_id": "22222222-2222-2222-2222-222222222222",
"duration": "PT1M3S",
"error_code": "",
"error_message": "",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Resources/deployments/lodol-20261118-090000",
"mode": "Incremental",
"name": "lodol-20261118-090000",
"output_resources": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore"
],
"outputs": {
"storageEndpoint": "https://mystore.blob.core.windows.net/"
},
"resource_group": "my-rg",
"state": "Canceled",
"timestamp": "2026-11-18T09:01:03Z"
}
}Create resource group
Create a resource group in a region. If one of that name is already in that region, it is returned unchanged.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Name
nametextRequired - Up to 90 letters, digits, underscores, hyphens, periods and parentheses, such as web-prod.
- Region
locationtextRequired - Where the group keeps its information, such as East US.
- Tags
tagsobject - Tags as name: value, such as {"env": "prod"}.
Outputs
createdtrue/false- False if it already existed and was left as it was
resource_groupobject- The resource group
Example output
{
"created": true,
"resource_group": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg",
"location": "eastus",
"managed_by": "",
"name": "my-rg",
"provisioning_state": "Succeeded",
"tags": {
"env": "prod"
}
}
}Delete resource group
Delete a resource group and everything in it. Azure carries on in the background, which can take several minutes. This can't be undone.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptextRequired - The resource group. Pick one, or give its name from an earlier step.
- Succeed if it's already gone
if_missing_oktrue/false - When on, the step succeeds if there is no such group.Default:
false.
Outputs
resource_grouptext- The group's name
statustext- Deleting, Deleted, or Not found if it was already gone
Example output
{
"resource_group": "my-rg",
"status": "Deleting"
}Deploy template
Deploy an ARM template to a resource group and, by default, wait for it to finish. The step fails if the deployment fails, with Azure's reason.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptextRequired - The resource group. Pick one, or give its name from an earlier step.
- Template
templateobject - The ARM template, as JSON: its $schema, contentVersion, parameters and resources. Leave empty when you give a template link.
- Template link
template_urltext - An https:// address Azure can download the template from, instead of pasting it.
- Parameters
parametersobject - The template's parameters as name: value, such as {"storageName": "mystore"}. A whole parameters file works too.
- Mode
modetext - Add and update only leaves other resources in the group alone. Match the template exactly deletes any resource in the group the template doesn't list.One of:
Incremental(Add and update only),Complete(Match the template exactly (deletes what it leaves out)). Default:Incremental. - Deployment name
deployment_nametext - A name for this deployment in the group's history. Leave empty for one made from today's date and time.
- Wait until it finishes
waittrue/false - When on, the step waits up to four minutes for the result. A longer deployment carries on in Azure.Default:
true.
Outputs
deploymentobject- The deployment
finishedtrue/false- False if it was still running when the step stopped waiting
Example output
{
"deployment": {
"correlation_id": "22222222-2222-2222-2222-222222222222",
"duration": "PT1M3S",
"error_code": "",
"error_message": "",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Resources/deployments/lodol-20261118-090000",
"mode": "Incremental",
"name": "lodol-20261118-090000",
"output_resources": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore"
],
"outputs": {
"storageEndpoint": "https://mystore.blob.core.windows.net/"
},
"resource_group": "my-rg",
"state": "Succeeded",
"timestamp": "2026-11-18T09:01:03Z"
},
"finished": true
}Get deployment
One deployment's state, outputs, the resources it made and, if it failed, why.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptextRequired - The resource group. Pick one, or give its name from an earlier step.
- Deployment
deployment_nametextRequired - The deployment. Pick one, or give its name from an earlier step.
Outputs
deploymentobject- The deployment
Example output
{
"deployment": {
"correlation_id": "22222222-2222-2222-2222-222222222222",
"duration": "PT1M3S",
"error_code": "",
"error_message": "",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Resources/deployments/lodol-20261118-090000",
"mode": "Incremental",
"name": "lodol-20261118-090000",
"output_resources": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore"
],
"outputs": {
"storageEndpoint": "https://mystore.blob.core.windows.net/"
},
"resource_group": "my-rg",
"state": "Succeeded",
"timestamp": "2026-11-18T09:01:03Z"
}
}Get resource
Everything Azure says about one resource, given its ID, including the settings particular to its type.
Inputs
- Resource
resource_idtextRequired - The resource's ID, starting /subscriptions/, from 'List resources' or the resource's Properties page in the portal.
Outputs
api_versiontext- The API version it was read with
propertiesobject- The settings particular to its type, as Azure gives them
resourceobject- The resource
Example output
{
"api_version": "2025-01-01",
"properties": {
"accessTier": "Hot",
"provisioningState": "Succeeded"
},
"resource": {
"changed_time": "2026-11-02T09:00:00Z",
"created_time": "2026-11-01T09:00:00Z",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore",
"kind": "StorageV2",
"location": "eastus",
"name": "mystore",
"provisioning_state": "Succeeded",
"resource_group": "my-rg",
"sku": "Standard_LRS",
"tags": {
"env": "prod"
},
"type": "Microsoft.Storage/storageAccounts"
}
}Get resource group
One resource group's region, state and tags.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptextRequired - The resource group. Pick one, or give its name from an earlier step.
Outputs
resource_groupobject- The resource group
Example output
{
"resource_group": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg",
"location": "eastus",
"managed_by": "",
"name": "my-rg",
"provisioning_state": "Succeeded",
"tags": {
"env": "prod"
}
}
}List activity log events
Who changed what in a subscription and when, from its activity log (the last 90 days), filtered by resource group, level, status or operation.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- From
startdate and time - Events from this time. Defaults to 24 hours before 'To'.
- To
enddate and time - Events up to this time. Defaults to now.
- Resource group
resource_grouptext - Only this resource group. Leave empty for the whole subscription.
- Levels
levelslist - Only events at these levels. Leave empty for all.One or more of:
Critical,Error,Warning,Informational,Verbose. - Status
statustext - Only events with this status.One of:
any(Any status),Succeeded,Failed,Started,Accepted. Default:any. - Operation contains
operation_containstext - Only operations containing this text, such as delete or virtualMachines.
- Maximum results
limitnumber - Return at most this many.From 1 to 1000. Default:
100.
Outputs
countnumber- How many were returned
endtext- The end of the window read (ISO 8601)
eventslist- The events, newest first
starttext- The start of the window read (ISO 8601)
truncatedtrue/false- True if there were more than 'Maximum results'
Example output
{
"count": 1,
"end": "2026-11-18T09:00:00Z",
"events": [
{
"caller": "admin@contoso.com",
"category": "Administrative",
"correlation_id": "22222222-2222-2222-2222-222222222222",
"description": "",
"event_id": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
"level": "Informational",
"operation": "Microsoft.Storage/storageAccounts/write",
"operation_name": "Create/Update Storage Account",
"resource_group": "my-rg",
"resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore",
"resource_provider": "Microsoft.Storage",
"status": "Succeeded",
"sub_status": "OK (HTTP Status Code: 200)",
"time": "2026-11-18T09:00:00Z"
}
],
"start": "2026-11-17T09:00:00Z",
"truncated": false
}List deployments
The template deployments of a resource group, newest first.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptextRequired - The resource group. Pick one, or give its name from an earlier step.
- State
statetext - Only deployments in this state.One of:
any(Any state),Succeeded,Failed,Running,Accepted,Canceled. Default:any. - Maximum results
limitnumber - Return at most this many.From 1 to 1000. Default:
100.
Outputs
countnumber- How many were returned
deploymentslist- The deployments
truncatedtrue/false- True if there were more than 'Maximum results'
Example output
{
"count": 1,
"deployments": [
{
"correlation_id": "22222222-2222-2222-2222-222222222222",
"duration": "PT1M3S",
"error_code": "",
"error_message": "",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Resources/deployments/lodol-20261118-090000",
"mode": "Incremental",
"name": "lodol-20261118-090000",
"output_resources": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore"
],
"outputs": {
"storageEndpoint": "https://mystore.blob.core.windows.net/"
},
"resource_group": "my-rg",
"state": "Succeeded",
"timestamp": "2026-11-18T09:01:03Z"
}
],
"truncated": false
}List regions
The Azure regions a subscription can use, with the name other steps take, such as eastus.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
Outputs
countnumber- How many were returned
locationslist- The regions
Example output
{
"count": 1,
"locations": [
{
"display_name": "East US",
"geography": "United States",
"name": "eastus",
"paired_regions": [
"westus"
],
"physical_location": "Virginia",
"region_category": "Recommended",
"region_type": "Physical",
"regional_display_name": "(US) East US"
}
]
}List resource groups
The resource groups in a subscription, optionally only those with a tag.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Tag name
tag_nametext - Only those with this tag, such as env.
- Tag value
tag_valuetext - Only those whose tag has this value, such as prod. Needs a tag name.
- Maximum results
limitnumber - Return at most this many.From 1 to 1000. Default:
100.
Outputs
countnumber- How many were returned
resource_groupslist- The resource groups
truncatedtrue/false- True if there were more than 'Maximum results'
Example output
{
"count": 1,
"resource_groups": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg",
"location": "eastus",
"managed_by": "",
"name": "my-rg",
"provisioning_state": "Succeeded",
"tags": {
"env": "prod"
}
}
],
"truncated": false
}List resource providers
The resource providers (Microsoft.Storage, Microsoft.Compute and the rest) and whether the subscription is registered to use each.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Registration
registration_statetext - Only providers that are, or aren't, registered.One of:
any(All),Registered,NotRegistered(Not registered). Default:any.
Outputs
countnumber- How many were returned
providerslist- The resource providers
Example output
{
"count": 1,
"providers": [
{
"namespace": "Microsoft.Storage",
"registration_policy": "RegistrationRequired",
"registration_state": "Registered",
"resource_types": [
"storageAccounts"
]
}
]
}List resources
The resources in a subscription or resource group, filtered by type, name, region or tag.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptext - Only this resource group. Leave empty for the whole subscription.
- Resource type
resource_typetext - Only this type, such as Microsoft.Storage/storageAccounts.
- Name contains
name_containstext - Only resources whose name contains this text.
- Region
locationtext - Only resources in this region.
- Tag name
tag_nametext - Only those with this tag, such as env.
- Tag value
tag_valuetext - Only those whose tag has this value, such as prod. Needs a tag name.
- Maximum results
limitnumber - Return at most this many.From 1 to 1000. Default:
100.
Outputs
countnumber- How many were returned
resourceslist- The resources
truncatedtrue/false- True if there were more than 'Maximum results'
Example output
{
"count": 1,
"resources": [
{
"changed_time": "2026-11-02T09:00:00Z",
"created_time": "2026-11-01T09:00:00Z",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore",
"kind": "StorageV2",
"location": "eastus",
"name": "mystore",
"provisioning_state": "Succeeded",
"resource_group": "my-rg",
"sku": "Standard_LRS",
"tags": {
"env": "prod"
},
"type": "Microsoft.Storage/storageAccounts"
}
],
"truncated": false
}List subscriptions
The Azure subscriptions the app has a role on, with each one's ID and state.
Inputs
- Maximum results
limitnumber - Return at most this many.From 1 to 1000. Default:
100.
Outputs
countnumber- How many were returned
subscriptionslist- The subscriptions
truncatedtrue/false- True if there were more than 'Maximum results'
Example output
{
"count": 1,
"subscriptions": [
{
"name": "Production",
"state": "Enabled",
"subscription_id": "00000000-0000-0000-0000-000000000000",
"tags": {},
"tenant_id": "11111111-1111-1111-1111-111111111111"
}
],
"truncated": false
}Preview deployment changes
See what deploying a template would create, change or delete, without deploying it (Azure's what-if).
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource group
resource_grouptextRequired - The resource group. Pick one, or give its name from an earlier step.
- Template
templateobject - The ARM template, as JSON: its $schema, contentVersion, parameters and resources. Leave empty when you give a template link.
- Template link
template_urltext - An https:// address Azure can download the template from, instead of pasting it.
- Parameters
parametersobject - The template's parameters as name: value, such as {"storageName": "mystore"}. A whole parameters file works too.
- Mode
modetext - Add and update only leaves other resources in the group alone. Match the template exactly deletes any resource in the group the template doesn't list.One of:
Incremental(Add and update only),Complete(Match the template exactly (deletes what it leaves out)). Default:Incremental.
Outputs
changeslist- Each resource the deployment would touch
createsnumber- How many resources it would create
deletesnumber- How many it would delete
modifiesnumber- How many it would change
statustext- Succeeded once the preview is ready
unchangednumber- How many it would leave as they are
Example output
{
"changes": [
{
"change_type": "Modify",
"changed_properties": [
"tags.env"
],
"resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystore",
"unsupported_reason": ""
}
],
"creates": 0,
"deletes": 0,
"modifies": 1,
"status": "Succeeded",
"unchanged": 0
}Register resource provider
Let a subscription use a kind of resource, such as Microsoft.Storage, the first time. Registering takes a minute or two to finish in Azure.
Inputs
- Subscription
subscription_idtext - The Azure subscription. Leave it blank when the connection can see only one.
- Resource provider
namespacetextRequired - The provider, such as Microsoft.Storage.
Outputs
providerobject- The resource provider
Example output
{
"provider": {
"namespace": "Microsoft.Storage",
"registration_policy": "RegistrationRequired",
"registration_state": "Registering",
"resource_types": [
"storageAccounts"
]
}
}Update tags
Add, replace or remove the tags on a resource or a resource group. Adding keeps the tags already there.
Inputs
- Subscription
subscription_idtext - The subscription of the resource group. Not needed for a resource given by ID.
- Resource group
resource_grouptext - Tag this resource group. Leave empty when you give a resource.
- Resource
resource_idtext - Tag this resource instead: its ID, starting /subscriptions/.
- How
modetext - Add or change tags (keeping the rest), replace them all, or remove some.One of:
add(Add or change these tags),replace(Replace all tags with these),remove(Remove these tags). Default:add. - Tags
tagsobject - Tags as name: value, such as {"env": "prod"}.Only when How is Add or change these tags or Replace all tags with these.
- Tags to remove
tag_nameslist - The names of the tags to remove. Names that aren't there are ignored.Only when How is Remove these tags.
Outputs
changedtrue/false- False if the tags were already that way, so nothing was sent
scopetext- The ID of what was tagged
tagsobject- Its tags now, as name: value
Example output
{
"changed": true,
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg",
"tags": {
"env": "prod"
}
}