# Managing Azure Application Insights Alert Rules

**URL:** <https://discuss.hashicorp.com/t/managing-azure-application-insights-alert-rules/34514>\
**Category:** Azure\
**Tags:** azure\
**Created:** [January 20, 2022, 12:27pm UTC](https://discuss.hashicorp.com/t/managing-azure-application-insights-alert-rules/34514 "2022-01-20T12:27:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![torben.dury](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/torben.dury/32/24082_2.png) [@torben.dury](https://discuss.hashicorp.com/u/torben.dury)\
**Post date:** [January 20, 2022, 12:27pm UTC](https://discuss.hashicorp.com/t/managing-azure-application-insights-alert-rules/34514/1 "2022-01-20T12:27:44Z")

</div>

Hello everyone! I’m switching our Azure stuff from point-and-click to Terraform finally, and migrate everything to a new project.

However, I cannot seem to find alert rules for my Application Insights - except smart detection rules. In the old project, they were defined like so:

 ![grafik](https://global.discourse-cdn.com/hashicorp/original/3X/3/c/3caf59291c8df621035afba5023cf0190bd34a94.png)

I managed to create ContainerInsights, ApplicationInsights and Log Analytics Workspaces via Terraform, but those rules really bug me. How can I create them with IaC?

Best regards
