Search code examples
azurewebhooksazure-rm-template

microsoft.insights/actionGroups ARM Template WebhookReceiver not working


I'm using this template to deploy my AzureActionGroup :

 {
     "apiVersion": "2019-06-01",
     "type": "microsoft.insights/actionGroups",
     "location": "Global",
     "name": "[variables('ActionGroupName')]",
     "properties": {
        "groupShortName": "Dispo",
        "enabled": true,
        "WebhookReceiver": [
           {
              "name": "Hook",
              "serviceUri": "http://requestb.in/1bq62iu1"
           }
        ]
     }
  }

Everything ran without error. but when I go to the portal to watch my resource, I did not see any action WebHook instrumented.

enter image description here

What I'm doing wrong?


Solution

  • Replace "WebhookReceiver" with "WebhookReceivers", you should be good.