Questions tagged [azure-function-async]

For questions about Azure functions that do operations in an asynchronous manner. If your question is about synchronous Azure functions use the [azure-functions] Tag instead.

51 questions
0
votes
0 answers

Problem retrieving bearer access token using timer triggered Azure javascript function

I have an Azure Timer Triggered Function that needs to make various calls to the Graph API, which means I need an OAuth2 Bearer token issued by my tenancy's AAD. So I've written the function below, which based on code I've previously written to make…
0
votes
0 answers

Azure Functions breaking on request loop

I have Node.js function that runs fine locally, however in an Azure Serverless Function (HTTP Trigger), it unexpectedly stops on a request loop if one of the requests responds with an empty request.body, instead of continuing to through the rest of…
0
votes
1 answer

Azure Logic apps take hours/days to run Azure Functions

Background I have a set of logic apps that each call a set function apps which are run in parallel. Each logic app is triggered to start at a certain time during the night with all staggered an hour apart. The Azure functions are written using the…
0
votes
1 answer

How to fix 'Unexpected Token' error with async function

I am developing a web app bot on azure (v3) and I am using async methods but I can't seem to solve an issue which is SyntaxError: Unexpected token function. I've tried updating my nodeJS from 6.9.4 to 8.9 but that didn't work. I also ran npm i -g…
0
votes
1 answer

how to wait for an async call in azure function

I am trying to call face api async method from an Azure function. I am awaiting on an async method but Azure function goes off and completes it. How can I wait for the async operation to complete in Azure fucntion? Here's my code (I am using VS…
ilovecsharp
  • 5
  • 1
  • 2
-1
votes
1 answer

How to optimize performance of Time-Trigger Azure Function in C#?

I have a time-triggered Azure Function that runs every SECOND. The function reads data from API Servers and stores it into ADLS. How can I optimize the performance of the function so that it can make more that 500 API calls and store per second data…
1 2 3
4