Hi @Sanil Davis
To update the broader community, the timeout was being caused by the forward request your app service is making to your APIM. That request returns a large response which is taking more than initial timeout of 300 seconds, per stated by @Ben Gimblett . It was advised to improve processing of your request as well as extending the timeout of the request policy.