I have developped an Azure Function in python that connect to a Blob Storgae, read some files, and write these files in Auzre Tables. The code is executed using Azure Functions, has been tested and works in local executing it from VSCode. The problem is that, when I try to execute it from Azure Data Factory, the Data Factory starts, execute the Function (that is able to do the job) and finished with the next error:
Operation on target Ingesta_copy1 failed: Call to provided Azure function 'Ingestion' failed with status-'GatewayTimeout' while invoking 'POST' on 'https://-.azurewebsites.net' and message - '504.0 GatewayTimeout'.
We are using the Premium Azure Function plan, the timeout is stablished to 1 hour and the pipeline only contains the code execution.
Any suggestion?
Thanks