Hi,how to get backup logs to be emailed to me from recovery services vault - Successful and Failed

Desigan Reddy 20 Reputation points
2023-11-15T17:23:11.6366667+00:00

Hi,how to get backup logs to be emailed to me from recovery services vault - Successful and Failed without creating a workspace etc?

I did add my email address to the notification is recovery service vault. I did get an activation email but nothing else there after. Backups ran but no notifications

I am currently taking daily screenshots and saving that as a log

Thanks

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

Accepted answer
  1. SadiqhAhmed-MSFT 49,331 Reputation points Microsoft Employee Moderator
    2023-11-16T16:10:21.39+00:00

    Hello @Desigan Reddy Thank you for posting your question on Microsoft Q&A platform. Happy to assist!

    I understand that you are looking for email notifications for Azure backups (successful and failed jobs) without creating a workspace. This is possible, using Azure Resource Graph (ARG) based alerting now (for successful backup notifications).

    1 - Navigate to Azure Monitor > Logs in the portal
    2 - Select your subscription in the scope selector (this is so that you can write an alert rule that spans all resources within the subscription)
    3 - In the query editor, start with typing 'arg("").' followed by an ARG query to get list of successful jobs. To construct this query to meet your requirement, you can refer to sample queries documented here - https://learn.microsoft.com/azure/backup/query-backups-using-azure-resource-graph#sample-queries and make necessary customizations. You can then run the query to check if the output is coming as expected. 
    4 - Once validated, click on +New Alert Rule, specify frequency and threshold of alert as per your requirement. More details on this feature here https://learn.microsoft.com/azure/azure-monitor/alerts/alerts-create-new-alert-rule?tabs=log#create-a-new-alert-rule-in-the-azure-portal
    5 - Select/Create an action group to configure email notifications for alerts.
    6 - In the details section, enter the name and severity of the alert rule. In Managed Identity section, you can specify whether to use a user or system assigned managed identity. basically this managed identity is needed to define which resources the alert rule has access to query.
    7 - Once the alert rule is created, navigate to the subscription > Access control and assign reader access to subscription for the managed identity associated with the alert rule.

    Hope this helps. Feel free to write back to us if you need any questions!


    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.