Global real-time multi-user apps with Azure Cosmos DB

Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.
Start free todayAzure Functions is a serverless compute service that enables you to run code on-demand without having to explicitly provision or manage infrastructure. Using Azure Functions, you can run a script or piece of code in response to a variety of events. Azure Data Factory (ADF) is a managed data integration service in Azure that enables you to iteratively build, orchestrate, and monitor your Extract Transform Load (ETL) workflows. Azure Functions is now integrated with ADF, enabling you to run an Azure function as a step in your data factory pipelines.
Jump To:
[01:30] Demo Start
Follow @SHanselman Follow @AzureFriday Follow @DataAzure
Link don't work
ie https://azfr/513/01 does not work
@Leo Scott: Thanks Leo - all fixed. Error between keyboard and chair.
can we run python azure functions in azure data factory? My current function (written in python) does not return any value; it saves the output in datalake (csv file). When I tried to run the function on data factory I got following error: { "errorCode": "3600", "message": "Error calling the endpoint.", "failureType": "UserError", "target": "Azure Functiontest".
Same error with javascript function using function key.
Same for us. C# function. interesting is that the function actually executes correctly but it still gives an error. Kind of a problem for production environment to determine if it really worked or not.
Having exactly same issue. Even by chaing return value to JObject type, still shows incorrect Failed message.
Hey guys,
Sorry to hear that you are facing issues. I will need more information about your Azure Function Apps to investigate and see how I can help you with this. Please reach out to me at arsunda@microsoft.com and we can look into this further
Hi guys, in which part of the data factory can you extend the timeout-response feature? My AzureFunctionActivity runs for 3.8 minutes (230 sec) and fails. It shows "Error calling the endpoint", and other functions that are almost the same but shorter, run perfectly.
Will we able to use an Azure Function as a DataSet for Copy Action activity? I have Azure functions that retrieve data from a more complex API where the HTTP connector will not work.
Jeremy
If you see 'Server Error' or '500 - The request timed out.', this probably means that your Azure Function is taking more than 230 seconds to run. This is a non-configurable timeout on the Azure Function/App Service side.
The workaround for this is to use Durable functions, here is a useful link : https://medium.com/@jeffhollan/calling-long-running-functions-from-logic-apps-6d7ba5044701. The Durable function will return a 'statusQueryGetUri' that you can then call with a Web Activity to monitor the status and get the eventual output when the function completes execution.
@Matias the above comment should be helpful for your case.
@Jeremy Winchell This is currently not possible, could you elaborate more on your use case? You can reach me at arsunda@microsoft.com
We have also improved the error messages surfaced from Azure Functions, they should help guide you in getting your functions working properly :)