# How do I use Azure Monitor to alert on terminal Power Platform business failures?

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Build Microsoft Power Platform solutions (15–20%)
Updated: 2026-11-25T06:47:22.744305+00:00
HTML: https://learningpathx.com/faq/AB-400/ab400-azure-monitor-alert-on-business-operation-failure.html

## Also asked as

- How can I alert on a failed Power Platform operation using an Application Insights event?
- What should I instrument and verify for an Azure Monitor log alert on business failures?

Emit a sanitized failure event from a trusted observer of the operation's terminal state, then create an Azure Monitor log search alert over the event's actual telemetry resource and schema. A browser-only signal can miss a failure after the user leaves. Instrument the server or flow reporting path explicitly.

For an Application Insights Logs context with `customEvents`, a custom signal named `ExpenseOperationFailed` could be queried as follows:

```kusto
customEvents
| where timestamp > ago(15m)
| where name == "ExpenseOperationFailed"
| project timestamp, customDimensions
```

Implement the event and check the actual ingestion schema before using the query. Preview it on synthetic data. Set a threshold, time window, evaluation frequency and action group appropriate to the response required. Use stable dimensions such as environment or operation type. Keep the individual operation ID available for correlation without creating one alert series per attempt.

The rule author needs read access to the target, write access to the rule's resource group, and read access to any associated action group. Verify the test event arrives, the rule evaluates, the intended recipient receives it, and repeat and recovery behavior match the configuration. Separately find operations that stay pending beyond the business deadline, since they may never emit a terminal failure event.

**Microsoft references**

* [Create Azure Monitor log search alert rules - Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-log-alert-rule)
* [Optimize log search alert queries - Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-log-query)
* [Application Insights telemetry data model - Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/app/data-model-complete)

Source: [AB-400: Tracing Failures Across Power Platform Extensions](https://learningpathx.com/news/ab-400-tracing-failures-across-power-platform-extensions.html)
