Create a new action groupn on Azure.

Last updated: 11/09/2020

This template creates a new Action group on Azure, this action group can be then used for configuring alerts on Azure.

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
actionGroupName Unique name (within the Resource Group) for the Action group.
actionGroupShortName Short name (maximum 12 characters) for the Action group.
emailReceivers The list of email receivers that are part of this action group.
smsReceivers The list of SMS receivers that are part of this action group.
webhookReceivers The list of webhook receivers that are part of this action group.
itsmReceivers The list of ITSM receivers that are part of this action group
azureAppPushReceivers The list of AzureAppPush receivers that are part of this action group
automationRunbookReceivers The list of AutomationRunbook receivers that are part of this action group.
voiceReceivers The list of voice receivers that are part of this action group.
logicAppReceivers The list of logic app receivers that are part of this action group.
azureFunctionReceivers The list of azure function receivers that are part of this action group.
armRoleReceivers The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.

Use the template

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/monitor-action-groups/azuredeploy.json
Installing and configuring Azure PowerShell

Command line

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/monitor-action-groups/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface