Email when updates finish with summary or attachment of results
Need an email notification when the deployment is complete with summary of which servers were successful/failed. I do not want an email per server.
This can be implemented utilizing Azure Alerts from an automation account. https://docs.microsoft.com/en-us/azure/automation/automation-tutorial-update-management#configure-alerts
I'd want a list with all systems, failed and succeeded..
Link is not working...
The provided link to the temporary solution is a 404:
Does somebody was able to set a solution for that ? I would like to set a similar solution and the only way I found is by using a script after the execution of the "deployment" job (I did not test yet but I think that will be the solution)
btw, the url mentioning documentation does not work
Chris Butler commented
Using Alerts from an Automation account is an unnecessarily complicated and round-about way of solving a simple problem, and the emails you get out do not contain ONE SINGLE USEFUL PIECE OF INFORMATION. Just put the space for an email address / AD Group in the Update Deployment Schedule settings and send a simple email with the VMs that were updated and the status of each update.
From my experience, when configured per the aforementioned instructions, I get both the Informational(Sev 2) for a successful run and the Informational(Sev 1) for a failed run.
Again, I believe I have everything configured for the alerts as documented, yet a successful deployment will trigger both alerts.
Is there any further clarification that can be made on the documentation?
Additionally, the documentation appears to be a bit outdated as it does not seem to include the metric to select for "Frequency of evaluation" when configuring the condition.
we need this feature too
Ariel Coloma commented
Can we add also to the notifications what updates were successfully applied and what failed?
Something like this:
Title EulaAccepted Result Reboot required
2017-09 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 on Windows 7 and Server 2008 R2 for x64 (KB4041083) True Failed False
2017-11 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 on Windows 7 and Server 2008 R2 for x64 (KB4049016) True Failed False
Microsoft .NET Framework 4.7.2 for Windows Server 2008 R2 for x64 (KB4054530) True Failed False
2019-02 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2 for Windows 7 and Server 2008 R2 for x64 (KB4487078) True Failed False
2019-02 Preview of Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2 for Windows 7 and Server 2008 R2 for x64 (KB4487256) True Failed False
David Petercheff commented
Yes that should be good. At least I'll be notified of failures. Thanks for the link!
Mark Nash commented
Email or Webhook notification allowance would be great
When scheduled update management jobs fail, the ability to send a notification would be helpful.
Would be great to get a notification if scheduled updates failed.