Webhooks ARM Template
Webhooks from ARM Template still don't work.
I've seen the schema you're providing: https://docs.microsoft.com/en-us/azure/templates/microsoft.automation/automationaccounts/webhooks
The PowerShell commandlets first request to generate a token before it is apply in the template.
When I run the ARM Template with your schema I cannot provide the URI and i get the error: "Invalid uri"
I know it's a duplicate of https://feedback.azure.com/forums/246290-automation/suggestions/13227531-webhooks-arm-template
but you've closed the item and it is still not working.
We are currently evaluating this based on the feedback on this item.
This issue affecting our deployment dramatically! Please fix it at last!
Isa Hunter commented
This is still an issue. Is this being addressed? The current workaround is not feasible in my case where all resources need to be defined in an ARM Template. Is there a way to invoke the generateui operation in the ARM Template i.e. [GEN-URI] or something to that affect.
Jeff M commented
Not being able to create a new webhook for an Automation Account and reference the URI, in say an ActionGroup resource for an Application Insights Alert in the same ARM template is a bummer.
Mukesh S commented
As workaround solution : you can create Webhook URI using Rest API and pass the serviceUri to into Webhook Template
**Note**: Each run book needs separate web hook so create new one using rest api call.
JR Foster commented
Same issue, has there been an update?
Hi all, any movement on this from Ms Azure experts? I want a ARM tile from dashboard to execute a webhook but requires URI to get it working.
Silje Merethe Dahl commented
Same issue, need to be able to auto-generate URL as in Portal UI and be able to pass output URL to dependant deployment resources.
Ivan Neshev commented
Same issue for me.
Georgi Slavov commented
Same issue... Please fix it :)
Ivo Tchilinguirov commented
I'm experiencing the same issue, Do you have eta on the bug fix ?
Yaroslav Shukan commented
The same issue observed. Hope it will be fixed soon as it's pretty disturbing