Hi @Mishra, Nitin Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.
This is a limitation in Azure infrastructure. Even though, you set timeout="1200"
in the forward-request policy, Values greater than 240 seconds may not be honored, because the underlying network infrastructure can drop idle connections after this time. Please refer the documentation on forward-request policy where the below limitation is mentioned.
You can make the backend service end point processing the file asynchronous and return a 202 response and implement some sort of polling mechanism on the backend service to get the status by hitting the end point in periodic intervals. Here is a typical flow to implement this
Please also refer to this comment on the GitHub where a similar issue was discussed.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.