Unable to dismiss Security Alerts

Alexander Nordbø 1 Reputation point
2021-11-09T07:26:49.63+00:00

Dear community !

I want to dismiss all or most of Microsoft Defender for Cloud Security Alerts in Azure to get a "clean slate" and tune our policies for adaptive application control.
I have tried scripting this using REST API, Azure CLI and the Powershell library.

All of the scripts created does close off some alerts, but they don't really close all the alerts it says it does. Looking at the GUI I see that I am getting some errors when trying to manually dismiss the alerts. I suspect this is what happens with my scripts as well, they run without exceptions but Azure is throwing an error in the backend when processing the dismiss action and never returns the error to my scripts.

I get two types of failures in the GUI while manually dismissing them:

Failure to update security alert status
Failed to update security alert Adaptive application control policy violation was audited (ALERT-ID-GOES-HERE) to 'Dismissed'. Please try again later.

Failed to update some security alerts
Some security alerts have failed to update. Please check previously received notifications for more information.

I can't make anything of these errors and google doesen't really give me anything of value either so I am really hoping to get some assistance here. Thanks for all help in advance ! :)

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
{count} votes

1 answer

Sort by: Most helpful
  1. VipulSparsh-MSFT 16,316 Reputation points Microsoft Employee
    2021-11-09T12:00:34.46+00:00

    @Alexander Nordbø Thanks for reaching out.

    I have seen these errors when the subscription under which the resources are getting these alerts is in disabled state.
    Re-confirm if the subscription under which you are getting these alerts for are in enabled and Active state.

    If you have the subscription enabled and still you are getting the error, I would need more details to investigate and collect the details offline. Do confirm about above though.


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.