Gateway time out after 2 mins in Azure Logic apps while running stored procedure on Azure SQL DB

mo boy 396 Reputation points
2020-09-10T10:43:38.103+00:00

Dear Experts,

I am trying to perform rebuild indexes on an Azure SQL DB using Logic apps. I used the SQL Server (Execute stored proc V2) for this purpose. It appears to run for the first two minutes and then times out after that. On searching online, I came across some suggestions around pagination etc. (Link)

Is there any easy way by which we can make the stored procedure persist with the connection to the Azure SQL DB.

Could you please share your inputs?

Azure SQL Database
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,871 questions
{count} votes