Automate pending actions

%3CLINGO-SUB%20id%3D%22lingo-sub-1571157%22%20slang%3D%22en-US%22%3EAutomate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1571157%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20Action%20Center%20I%20would%20like%20to%20automatically%20reject%20the%20pending%20actions%20%22Block%20URL%22%20and%20%22Soft%20delete%20emails%22.%26nbsp%3B%3CSPAN%3EI%20know%20this%20is%20not%20natively%20supported%2C%20but%20is%20there%20way%20to%20automate%20this%20using%20PowerShell%2C%20Power%20Automate%2C%20Security%20Graph%20API%20or%20something%20else%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1576176%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1576176%22%20slang%3D%22en-US%22%3EAs%20far%20as%20I%20know%2C%20it's%20not%20possible%20currently.%3CBR%20%2F%3EBut%20the%20MTP%20API%20is%20being%20expanded%20as%20we%20speak%2C%20so%20I%20assume%20this%20will%20be%20possible%20in%20the%20future%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1580261%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1580261%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F171875%22%20target%3D%22_blank%22%3E%40Joachim%20Fagerland%3C%2FA%3E%26nbsp%3B%2C%20Auto%20reject%26nbsp%3B%20is%20not%20supported%20natively%20%2C%20however%20if%26nbsp%3B%20you%20take%20no%20action%20to%20approve%20%22block%20URL%22%20or%20%22Soft%20delete%20emails%22%20the%20action%20will%20be%20expired%20in%20a%20month...%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20elaborate%20on%20the%20scenario%20%2F%20reason%20for%20auto%20reject%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1580306%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1580306%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F92769%22%20target%3D%22_blank%22%3E%40Evald%20Markinzon%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20want%20to%20automate%20as%20much%20as%20possible%2C%20so%20for%20these%20actions%20we%20want%20ZAP%20and%20native%20SafeLinks%20to%20automatically%20handle%20deleting%20emails%20and%20blocking%20URL.%3C%2FP%3E%3CP%3EThese%20extra%20pending%20actions%20are%20being%20generated%20in%20large%20volumes%20and%20create%20too%20many%20false%20positives%2C%20so%20we've%20decided%20to%20always%20reject%20them%20and%20perform%20these%20actions%20manually%20when%20necessary.%3C%2FP%3E%3CP%3ETo%20avoid%20alert%20fatigue%20and%20to%20better%20highlight%20the%20other%20Actions%20we%20need%20to%20evaluate%2C%20we%20want%20to%20automatically%20reject%20these%20actions%20so%20they%20don't%20flood%20the%20list.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1586163%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1586163%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F171875%22%20target%3D%22_blank%22%3E%40Joachim83%3C%2FA%3E%26nbsp%3B-%20Zap%20does%20automatically%20act%20on%20emails%20and%20is%20the%20source%20of%20many%20of%20these%20alerts.%26nbsp%3B%20Zap%20will%20perform%20the%20action%20chosen%20for%20that%20threat%20in%20the%20appropriate%20policy%20-%20so%20if%20you%20have%20phish%20set%20to%20junk%2C%20zap%20will%20auto-junk%20it.%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EHowever%2C%20there%20are%20cases%20where%20Zap%20may%20not%20remediate%20the%20email%20-%20e.g.%20emails%20that%20were%20over%2048%20hours%20old%20with%20the%20malicious%20url%2Ffile%2C%20phish%20emails%20where%20the%20user%2Forganization%20had%20'override%20policies'%20(e.g.%20safe%20sender%2C%20safe%20domain%2C%20ETRs%2C%20etc.)%2C%20plus%20emails%20from%20similar%20emails%20but%20with%20different%20malicious%20links%2Ffiles%20that%20don't%20get%20identified.%26nbsp%3B%20I%20definitely%20hear%20your%20request%20for%20clearer%20needed%20actions.%26nbsp%3B%20For%20the%20moment%20want%20to%20make%20sure%20admins%20review%20and%20give%20us%20feedback%20when%20they%20disagree%20with%20aspects%20of%20the%20investigation.%26nbsp%3B%20%26nbsp%3BAs%20Evald%20said%20-%20if%20you%20simply%20ignore%20the%20investigations%20they'll%20expire.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESafe%20links%20does%20auto-block%20the%20links%20today%20if%20you're%20applying%20the%20policy%20to%20your%20usrs%20-%20the%20action%20from%20the%20investigation%20is%20redundant%20right%20now.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'd%20suggest%20you%20definitely%20review%20any%20'User%20compromise'%20and%20'URL%20verdict%20change'%20investigation%20at%20a%20minimum.%26nbsp%3B%20These%20are%20high%20severity%20because%20they%20are%20situations%20where%20the%20user%20may%20be%20compromised%20-%20so%20the%20other%20details%20in%20the%20investigation%20are%20particularly%20worth%20reviewing%20(user%20evidence%2C%20bad%20URLs%2C%20etc.).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1586181%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1586181%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F758148%22%20target%3D%22_blank%22%3E%40johnengels%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20a%20Power%20Automate%20job%20that%20automatically%20trigger%20a%20full%20MDATP%20antivirus%20scan%20and%20investigations%20on%20any%20computer%20a%20user%26nbsp%3B%20has%20logged%20in%20to%20the%20last%203%20days%20when%20a%20High%20Threat%20Management%20Alert%20has%20been%20triggered%20by%20a%20user.%20These%20we%20do%20check%20after%20they%20have%20completed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20the%20URL%20block%20actions%20are%20redundant%20like%20you%20mention%20as%20SafeLinks%20have%20already%20blocked%20them%2C%20so%20we%20want%20them%20automatically%20rejected.%3C%2FP%3E%3CP%3EAnd%20if%20ZAP%20doesn't%20automatically%20delete%20e-mails%20we%20will%20create%20manual%20remediation%20jobs%2C%20so%20we%20want%20to%20automatically%20decline%20the%20delete%20email%20actions%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592422%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592422%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F171875%22%20target%3D%22_blank%22%3E%40Joachim83%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBeyond%20what%20was%20already%20discussed%20regrading%20the%20redundant%20actions%2C%20and%20your%20preference%20for%20manual%20investigation.%20Could%20you%20please%20elaborate%20more%20on%20the%20false-positives%20issue%20that%20you%20mentioned%3F%3C%2FP%3E%0A%3CP%3EWould%20be%20great%20if%20you%20could%20provide%20any%20concrete%20details%20so%20we%20can%20investigate%20this%20further%20and%20improve%20our%20investigation%20logic%20accordingly.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592463%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592463%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169397%22%20target%3D%22_blank%22%3E%40Lior%20Ben%20Porat%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20generel%20e-mail%20identified%20as%20Phishing%20starts%20an%20investigation%20that%20creates%204%20different%20E-mail%20Soft%20Delete%20actions%20and%20one%20Block%20URL%20action%20for%20every%20URL%20in%20the%20email.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESome%20of%20these%20e-mails%20are%20false%20positives%2C%20as%20an%20example%20e-mails%20from%20the%20shipping%20company%20postnord.no%20is%20regularly%20detected%20as%20phishing.%20It%20is%20very%20easy%20for%20someone%20to%20approve%20these%20pending%20actions%20withouth%20proper%20investigation%20and%20then%20legitime%20e-mails%20and%20URL's%20are%20deleted%20and%20blocked%20for%20the%20entire%20organization.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20we%20just%20let%20them%20be%20and%20await%20for%20them%20to%20expire%2C%20then%20the%20other%20actions%20we%20actually%20want%20to%20look%20into%20are%20harder%20to%20notice%20in%20the%20sea%20of%20pending%20actions.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592477%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592477%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20the%20quick%20response%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F171875%22%20target%3D%22_blank%22%3E%40Joachim83%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20case%2C%20would%20you%20consider%20the%20email%20that%20initiated%20the%20investigation%20to%20be%20a%20false%20positive%3F%20or%20only%20the%20emails%2FURLs%20found%20by%20the%20investigation%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592487%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592487%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169397%22%20target%3D%22_blank%22%3E%40Lior%20Ben%20Porat%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsually%20both%2C%20an%20e-mail%20can%20be%20detected%20as%20phishing%20because%20it%20contains%20a%20false%20positive%20malicious%20URL%2C%20then%20the%20investigation%20also%20detects%20it%20as%20phishing%20and%20creates%20Block%20URL's%20and%20soft%20delete%20actions.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2098995%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2098995%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186539%22%20target%3D%22_blank%22%3E%40Thijs%20Lecomte%3C%2FA%3E%26nbsp%3Bare%20you%20aware%20of%20any%20changes%20to%20the%20API%20for%20doing%20this%20type%20of%20automation%3F%20I%20have%20not%20been%20able%20to%20find%20anything.%20I'm%20hoping%20that%20there%20might%20be%20a%20preview%20program%20underway%20that%20I%20don't%20know%20about.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2112690%22%20slang%3D%22en-US%22%3ERe%3A%20Automate%20pending%20actions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2112690%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1096%22%20target%3D%22_blank%22%3E%40Dean%20Gross%3C%2FA%3E%26nbsp%3Bthere%20is%20no%20automation%20capabiliy%20as%20of%20yet.%20NO%20previews%20as%20far%20as%20I%20know.%3C%2FP%3E%3CP%3Ei%20hope%20this%20will%20come%20with%20the%20new%20Security%20Portal%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

In the Action Center I would like to automatically reject the pending actions "Block URL" and "Soft delete emails". I know this is not natively supported, but is there way to automate this using PowerShell, Power Automate, Security Graph API or something else?

11 Replies
As far as I know, it's not possible currently.
But the MTP API is being expanded as we speak, so I assume this will be possible in the future

Hi @Joachim83 , Auto reject  is not supported natively , however if  you take no action to approve "block URL" or "Soft delete emails" the action will be expired in a month...

Could you please elaborate on the scenario / reason for auto reject? 

 

 

Hi @Evald Markinzon 

We want to automate as much as possible, so for these actions we want ZAP and native SafeLinks to automatically handle deleting emails and blocking URL.

These extra pending actions are being generated in large volumes and create too many false positives, so we've decided to always reject them and perform these actions manually when necessary.

To avoid alert fatigue and to better highlight the other Actions we need to evaluate, we want to automatically reject these actions so they don't flood the list. 

@Joachim83 - Zap does automatically act on emails and is the source of many of these alerts.  Zap will perform the action chosen for that threat in the appropriate policy - so if you have phish set to junk, zap will auto-junk it.  

However, there are cases where Zap may not remediate the email - e.g. emails that were over 48 hours old with the malicious url/file, phish emails where the user/organization had 'override policies' (e.g. safe sender, safe domain, ETRs, etc.), plus emails from similar emails but with different malicious links/files that don't get identified.  I definitely hear your request for clearer needed actions.  For the moment want to make sure admins review and give us feedback when they disagree with aspects of the investigation.   As Evald said - if you simply ignore the investigations they'll expire.  

 

Safe links does auto-block the links today if you're applying the policy to your usrs - the action from the investigation is redundant right now.

 

I'd suggest you definitely review any 'User compromise' and 'URL verdict change' investigation at a minimum.  These are high severity because they are situations where the user may be compromised - so the other details in the investigation are particularly worth reviewing (user evidence, bad URLs, etc.).

 

@johnengels 

 

We have a Power Automate job that automatically trigger a full MDATP antivirus scan and investigations on any computer a user  has logged in to the last 3 days when a High Threat Management Alert has been triggered by a user. These we do check after they have completed.

 

However the URL block actions are redundant like you mention as SafeLinks have already blocked them, so we want them automatically rejected.

And if ZAP doesn't automatically delete e-mails we will create manual remediation jobs, so we want to automatically decline the delete email actions as well.

Hi @Joachim83 

 

Beyond what was already discussed regrading the redundant actions, and your preference for manual investigation. Could you please elaborate more on the false-positives issue that you mentioned?

Would be great if you could provide any concrete details so we can investigate this further and improve our investigation logic accordingly.

@Lior Ben Porat 

 

In generel e-mail identified as Phishing starts an investigation that creates 4 different E-mail Soft Delete actions and one Block URL action for every URL in the email.

 

Some of these e-mails are false positives, as an example e-mails from the shipping company postnord.no is regularly detected as phishing. It is very easy for someone to approve these pending actions withouth proper investigation and then legitime e-mails and URL's are deleted and blocked for the entire organization.

 

If we just let them be and await for them to expire, then the other actions we actually want to look into are harder to notice in the sea of pending actions. 

Thank you for the quick response @Joachim83 

 

In this case, would you consider the email that initiated the investigation to be a false positive? or only the emails/URLs found by the investigation?

@Lior Ben Porat 

 

Usually both, an e-mail can be detected as phishing because it contains a false positive malicious URL, then the investigation also detects it as phishing and creates Block URL's and soft delete actions.

@Thijs Lecomte are you aware of any changes to the API for doing this type of automation? I have not been able to find anything. I'm hoping that there might be a preview program underway that I don't know about. 

@Dean Gross there is no automation capabiliy as of yet. NO previews as far as I know.

i hope this will come with the new Security Portal