Hi @Samyak Jain ,
Thank you for posting query in Microsoft Q&A Platform.
Reason behind running pipeline indefinitely is due to timeout value set inside Custom activity. By default custom activity will have timeout set as 7 days.
ADF may not getting response back from Batch services and hence we may be ending up seeing pipeline running for long time.
Could you please try below options and see if that helps.
- Make sure your Azure Batch linked service test connection is successful.
- Monitor your Azure Batch log files. Click here to know more about it.
Hope this will helps. Please let us know if any further queries. Thank you.
-------------
Please consider hitting Accept Answer
button. Accepted answers helps community as well.