How we create an alert if Logic APPS workflow failure happened

manish verma 441 Reputation points
2024-02-24T11:29:03.1766667+00:00

Hi All, We need to inform end user if logic apps trigger fail, or any other issue that happened with logic apps. End user should get email and forward this failure mail to developer to fix this issue. What is the best practice to handle logic apps error.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,142 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,451 Reputation points
    2024-02-27T12:20:31.9433333+00:00

    @manish verma Thanks for reaching out.

    You can create the alert on your logic app resource with the signal Runs Failed and define the other necessary details as per your business needs how frequently you want to evaluate this rule.

    In the action tab for this alert, you can define the email ID of the user for which you want to alert. This will be static value and not dynamic value.
    For more details on setting up the alert please refer to this document.

    Feel free to get back to me if you have any queries or concerns or in case if I misunderstood your ask.

    Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. sumaiyaaisha 0 Reputation points
    2024-03-25T11:41:56.09+00:00

    To create an alert for Logic Apps workflow failures:

    Monitoring Setup: Configure monitoring for your Logic Apps workflow using Azure Monitor. This allows you to track workflow runs and detect failures.

    Define Alert Criteria: Set up alert rules in Azure Monitor to trigger when a Logic Apps workflow run fails. Define criteria such as specific error codes or conditions indicating failure.

    Alert Notification: Specify how you want to be notified when a failure occurs. Options include email notifications, SMS alerts, or integration with other monitoring tools.

    Thresholds and Conditions: Determine thresholds for triggering alerts, such as the number of consecutive failures or the frequency of failures within a certain time period.

    Testing: Test the alerting mechanism to ensure it correctly detects workflow failures and sends alerts as expected.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.