Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

error query threat hunting

Copper Contributor
// Query2
// Summary of e-mail SEND to free web mail services
let timeframe = 1d;
// popular public web service domains
let emailservicedomains =dynamic (["","","","",
| where Timestamp > ago (timeframe)
| extend ReceipientDomain = tostring(split(RecipientEmailAddress,"@",1)[0])
| where ReceipientDomain in (emailservicedomains)
| summarize count() by ReceipientDomain
please help


An error has occurred


Error messageAn unexpected error occurred during query execution. Please try again in a few minutes.
1 Reply

Hi @sulaimanncs915,

The error message "An unexpected error occurred during query execution. Please try again in a few minutes." is a generic error message that can occur for a variety of reasons.

In the case of your query, it is possible that the error is caused by the following:

  • A temporary issue with the Kusto service. This could be due to a high volume of traffic or a maintenance event.
  • A syntax error in the query. This could be a typo, a missing comma, or an incorrect operator.
  • A permission issue. You may not have the necessary permissions to run the query.
  • A bug in the Kusto service. If you have tried running the query multiple times and it continues to fail, it is possible that there is a bug in the Kusto service.

Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.

If the post was useful in other ways, please consider giving it Like.

Kindest regards,

Leon Pavesic