Add a web hook to get notified of completed auto-swaps
Deployment slots with the auto-swap feature are useful to warm up the application before making it visible. Unfortunately, it is not possible to get feedback from the operation.
It would be nice to have a web hook that is invoked with the result of the operation (success/failure).
You can now use the Event Grid integration to hook into the slot swap event. For more information, please see this link:
Masashi Onodera commented
Christopher green commented
ronin mike commented
This is really a beautiful post, keep sharing more. If you are a working professional and want to save your data from dangerous outside malware then get the <a
href="https://secureanywherewebroot.com">webroot antivirus</a> that is giving you the best protection.
Ryan Vella commented
I think this can be aet as a log based alert which calls an action group. Include a script which uses a webhook in the action group.
Not 100% sure about it but we have some similar setups.
Carlo Saccone commented
Any update? The feature is very important to us, and I think it's the same for lot of other process scenarios!
Leon Volovyk commented
Auto swap is effectively a useless feature without notifications.
Seriously, we are in XXI century! This feature is a must.
Thomas Ardal commented
Very much agree. Adding a webhook or a PostSwap script or similar would be an awesome feature. Would make it possible to call Slack, Teams and similar on releasing to production (as already mentioned).
Oskar Larsson commented
Any updates on this one? Would be nice to get notified and perhaps trigger a swap on another web app in a secondary location
Tom Wilson commented
any update on this? really need this to know what's going on with my production deployments
Would really like to see this, especially for swap. Currently we deploy to a slot, which we get a PostDeployment webhook for (which we route to slack), but then we swap the slot into "production" - we be really nice to use the hook for slack notification, and running another round of tests.
Anton Molleda commented
In the project I'm currently working on I'm using different services such as GitHub, Jenkins and Azure Web Apps. To communicate with the rest of the team we are using Slack (www.slack.com) and its integrations with these services. Thanks to that the whole team know when there has been a push into the master branch, when the build has succeeded and when it has been deployed to the staging slot. The missing piece for us is to know when the changes have been swapped to the production slot (not all the people have access to the Azure Dashboard).
What I would like to have is the possibility of adding a web hook so Azure Web Apps can notify me when there have been swaps, changes in the configuration or even the alerts that have been configured. This will make easier to create custom dashboards that need to integrate sources from different services as well as integration with websites such as slack.