Forum Discussion

marcio294jslk's avatar
marcio294jslk
Copper Contributor
Sep 02, 2022

How to disable email coming from alert Azure Backup soft delete functionality has been disabled

We are doing development in Azure and testing out the backup functionalities from Recovery Services, the problem is that every time we try to delete a Recovery Services it requires that the "Soft Delete" option is turned off.

 

That is where the problem begins, turning off this feature generates a Critical Alert in the Azure account defined by some Azure rule by default and sends an email to everyone within that Subscription.

 

We have a Subscription with dozens of users that got spammed by this, despite my best efforts to somehow suppress this behavior I couldn't find any way to stop this stupid email from being sent. I tried setting up different Alert rules, Alert processing rules and Action groups combinations but nothing seems to work.

 

Any suggestion for how to stop this default behavior from Azure ? Much appreciated!

 

 

 

1 Reply

  • marcio294jslk's avatar
    marcio294jslk
    Copper Contributor
    After contacting Azure Support they found a solution to the problem, sharing here so that others can also use it.


    1) Create an Action Group inside Azure Alerts. For Notification pick type "Email Azure Resource Manager Role" and pick "Reader" role. Also set "Enable the common alert schema" to "No". Leave Actions section empty (or add a custom one if you want).


    2) Create an Alert Processing rule inside Azure Alerts. For Scope filter to "Security Alerts" and choose the target Resource Group. On filters add "Alert rule name" as "Contains" with value set to "Soft Delete disabled for Vault".
    Under the "Rule Settings" tab add the Action Group created on step 1. Set the desired schedule to the alert rule.

Resources