In your case the Logic App being called need to send a response back to ADF callback URL. This is often where the issue lies.
- In the Logic App Designer: Towards the end of your Logic App workflow, add a HTTP Response action.
- Configure the HTTP Response: Status Code: Typically
200
for success. Body: Include any necessary output data you want to return to ADF.
Then set up the ADF Webhook Activity Correctly
- Method: POST (usually, unless your Logic App is set to listen to a different method)
- URL: The URL of your Logic App
- Body: Format the JSON body as needed by your Logic App.
- Headers: Include any required headers.
- Timeout: Ensure this is sufficiently long to allow your Logic App to complete its process.
Last but not least, the Logic App must extract the callback URL from the request it receives from ADF and use it to send the response.
- In your Logic App, before the HTTP response action, add an action (like Compose) to capture the callback URL from the incoming request.
- Use an expression to extract the callback URL, typically found in the headers or body of the incoming webhook request.