question

BrendanFinnegan-8556 avatar image
0 Votes"
BrendanFinnegan-8556 asked MikeUrnun answered

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MikeUrnun avatar image
1 Vote"
MikeUrnun answered

Hello @BrendanFinnegan-8556

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.



image.png (43.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.