I have a Flow that sends an email when there is an "Impossible Travel" alert in Cloud App Security. I am getting duplicate emails, in some cases 4, in other cases 7.
Above is a picture of the flow.
Any help is greatly appreciated.
Solved! Go to Solution.
@Anonymous is there any reason why you have an apply to each control in your flow? You should be able to go straight to the Send an email notification action after the trigger.
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
Hi @Anonymous ,
As @RobElliott said, your flow send duplicate emails since you add an Apply to each outside the "Send an email notification" action, and you need to remove the Apply to each if you don't want to get multiple emails for one alert.
If the Apply to each is automatically created when you add dynamic content of entity information to the Send an email notification action, you could refer to screenshot below to create the flow:
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous is there any reason why you have an apply to each control in your flow? You should be able to go straight to the Send an email notification action after the trigger.
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
Hi @Anonymous ,
As @RobElliott said, your flow send duplicate emails since you add an Apply to each outside the "Send an email notification" action, and you need to remove the Apply to each if you don't want to get multiple emails for one alert.
If the Apply to each is automatically created when you add dynamic content of entity information to the Send an email notification action, you could refer to screenshot below to create the flow:
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I didn't create it that way, Microsoft Flow did! But your observation might be key in me resolving the issue. I created this Flow a few months ago and when I just went in and recreated it from scratch, it no longer adds the "Apply to each" block. Waiting for an alert to trigger so I can confirm it's fixed, but I'm guessing it likely is.
Thanks again.
Hi @Anonymous ,
If your problem is solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!
Best Regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.