powershell script to find status of backup that is 'failed' and this failed data should trigger email with the VM details

Venkat karidi 81 Reputation points Microsoft External Staff
2022-11-22T05:51:36.407+00:00

i need the script that show status of Azure-backup "failed" that data should be sent an email as trigger of failed status.

Please help,this helps a lot.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,393 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 48,456 Reputation points Microsoft Employee
    2022-11-22T06:39:10.483+00:00

    Hi@Venkat karidi Thank you for posting your question. Happy to assist!

    I see that you are looking for script that should trigger email alerts for Azure-backup "failed" jobs. You can use this command - https://learn.microsoft.com/azure/backup/backup-azure-vms-automation#monitoring-a-backup-job should help meet your requirement.

    You can we also check if you have considered our built-in alerting solution to meet your same requirement: https://learn.microsoft.com/azure/backup/move-to-azure-monitor-alerts

    Hope this help!

    ----------------------------------------------------------------------------------------------------------------------

    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.