Views:

Applies to Product - Dynamics 365 Business Central


What’s happening?
Experiencing issues where alerts set up within Tenant insights via Azure Alerts configurations are not being raised.


Reason:
The underlying cause of this is related to the configuration of the alerting conditions in the Kusto (KQL) query. Specifically, the threshold operator was set to "greater than" instead of "greater or equal to," which prevented the alerts from being triggered.


Resolution:

  1. Define Alerting Conditions: Use a Kusto (KQL) query to define the alerting condition. Ensure to add a where clause to limit the timestamp of events in the query.
  2. Set Up Alerts in Azure Application Insights:
  3. Open the Azure portal and locate your Application Insights resource.
  4. In the navigation pane on the left, select Alerts.
  5. Add a KQL alerting condition query in the condition for a custom log.
  6. Use Azure Logic Apps and Power Automate: Implement Azure Logic Apps and Power Automate to set up custom notifications or automate actions triggered by the environment's lifecycle.
  7. If a no-code experience is preferred, use Power BI metrics to define and set up alerts on telemetry events.
  8. For email notifications, ensure that Power Automate is configured to create a customized configuration with the email subject and body format for the notifications.
  9. For further assistance, consider reaching out to the Azure Team or Power Automate Team with a new support request ticket, as this setup may fall outside the scope of Business Central support.