How to create a Playbook that sends an email to a user involved in an incident?

Copper Contributor

Hello everybody,

 

I need to configure a Sentinel playbook to send emails to users when an incident is created regarding their account.

I have created a playbook that uses Identity Protection incidents creation as trigger but I'm not currently able to set the right parameter to address automatically the alert to the user the incident refers to.

I don't need to set an address statically but the playbook has to fetch the user email address from the incident automatically and use it as recipient.

Which parameter or expression should I use?

 

Francesco_Di_Fabio_0-1656504294561.png

I hope you can kindly help me with this.

 

Best regards.

4 Replies

@frank_df You definitely need to get both the user name and the UPN from the Incident Entities. Something like the following...

 

upn.png

Hey @frank_df, we are also looking for similar requirement, did you able to achieve this, if you are please let us know the playbook configuration, we tried to pull AAD user id and accounts UPN suffix but its not reflecting the email address.

@Prashali_Shinde 

Yes, I achieved that!
Here is my current configuration:

NB: I added a condition because I had to send an email or another according to the UPN suffix. You can skip straight to the last step ("send an email").

frank_df_0-1676459162947.png

frank_df_1-1676459848149.png

 

Thank you so much @frank_df , will try with this.