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 Vendor

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,182 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 40,986 Reputation points Microsoft Employee

    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