Forum Discussion
Schedule a query and mail the result?
- Mar 17, 2018
Hi,
There are several ways to implement this scenario. IMHO, the most elegant method is using Azure Logic App. It has a connector that can execute a query and other connectors to send mail. There are logic modules to transform and format the results. You can also add additional logic items and connectors to other systems as much as you like.
If you want to see this scenario demo in video just watch this video: https://youtu.be/4whwxXWM894?t=2992
Thanks,
Meir :->
Hi,
There are several ways to implement this scenario. IMHO, the most elegant method is using Azure Logic App. It has a connector that can execute a query and other connectors to send mail. There are logic modules to transform and format the results. You can also add additional logic items and connectors to other systems as much as you like.
If you want to see this scenario demo in video just watch this video: https://youtu.be/4whwxXWM894?t=2992
Thanks,
Meir :->
Is that possible to schedule AAD Audit log query and mail the result?
- CliveWatsonJul 16, 2021Former Employee
Create a 3 step Logic App:
1. Set your Recurrence (once a day, once an hour etc..)
2. Run whatever KQL query for AAD Audit logs you need, I have set my "chart type" to "html table" but there are other options.
3. Send the email (or action you require), picking up the "attachment content" from step 2