Is there a way to get notified if your salesforce API connector breaks on a logic app?

Brendan Finnegan 46 Reputation points
2022-04-13T18:17:34.447+00:00

Hey all!

We have logic apps that send data from our salesforce environment down to our local on prem services using azure logic apps. Our logic apps are connected to salesforce using API Connectors. Recently this broke and we had to re-sign into all of the logic apps. Some of them grab account information from salesforce on a separate step, using a separate connector.

Is there a step/notification we can use to have an email alert sent if the API connector needs to be authenticated or there was a failure from salesforce due to an account issue?

Thanks!

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

Accepted answer
  1. Mike Urnun 9,786 Reputation points Microsoft Employee
    2022-04-15T00:32:34.22+00:00

    Hello @Brendan Finnegan

    Azure Monitor service provides Alterting and Notifying features based on failure conditions you define against log data that's generated by your Logic Apps. In order to make this work, you'll want to integrate the two services. For steps on how to do the integration, please review: Monitor run status, review trigger history, and set up alerts for Azure Logic Apps

    In your case, it sounds like the underlying API connections are expiring at a certain time which will cause your workflows to get Failed status. Assuming that the integration with Azure Monitor is done, you could then set up a new Alert rule leveraging the existing signals types such as "Runs Failed", "Actions Failed" or the "Custom log search" for more granular targeting of the failure condition:
    193235-image.png

    I hope this is helpful, just let me know if any questions.

    -------------------------------------------------------------------------------

    Please consider contributing to MS Q&A by marking 'Accepted Answer' and ‘Upvoting’ as applicable.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful