I am running a MS Flow which runs a Kusto control command followed by a SQL execute procedure. The Kusto command pushes the data into a sql table(around 1500 records). The procedure then runs on top of this table. The problem I am facing is, Kusto command gets executed within seconds whereas procedure takes several minutes to execute. When I run the procedure from SSMS, it hardly takes seconds to run.
Any help ??