Hello @KrishnaT , apologies for the delay. After Sharepoint action of your logic app, you can set a customized "run-after" behavior for the logic app. If there is an error then as an action in this "run-after" behavior you can run another action from ADF connector if suits your needs or make a HTTP REST call to Azure Data factory to convey the error. You can find additional implementation details here. Please let me know if there any additional concerns or blockers, I will be happy to help.
Logic App Exception to ADF

KrishnaT
21
Reputation points
Hi ,
i have a logic app where i am reading files from ADLS and moving to Sharepoint , and i am calling this from ADF . it works fine when usually.
But when sometimes the logic app fails (errors) its not propagating the exception to ADF and its showing logic app completed successfully.
i have to goto logic app and check the run history to findout it failed. i know i can send emails from logic app when i failed , but my requirement is to catch it from ADF as i have furthur processing based on this step.
Regards,
SKT
{count} votes
Hi ,
The error is happening in inside logic app Action , in this case when i try to create a file in SharePoint , if the file already exists it errors out as expected.
but the calling ADF is only showing the logic app is successfully ran ( i think ADF is showing if it triggered logic app successfully), where as in turn the trigger run has failed and we have to capture that from ADF to move on to next step based on "Success" or "Failure" from logic app.
How do you do that.??