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
1
vote
1 answer

Connect time-triggered Azure Function with Database using SQL Client

I am connecting time-triggered Azure Function with SQL Server using SQL client but I am not getting any data. Here is my code: local.settings.json: { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", …
1
vote
1 answer

How to check logs and usage (CPU/RAM/DB) of Azure function written in .NET?

I wrote an Azure function that is triggered every day at 4AM. I published it and it had its first successful run today at 4AM. I am sure that it ran successfully, because it put the expected data in the database. [FunctionName("MyFunction")] public…
Michal B.
  • 5,676
  • 6
  • 42
  • 70
1
vote
1 answer

Azure function doesn't return response after async function is complete

I'm trying to develop a function in VS Code that takes an url as input and returns the response after processing is complete. However, when this function is run, it returns nothing. I tried testing similar code in Webstorm and and confirm that it…
1
vote
2 answers

how to copy files from source folder to destination folder and delete source folder files in azure storage account by using function app

I am able to copy source folder blob to destination folder blob and delete the source blobs how to copy multiple blobs to source to destination folder and delete source blobs when I am copying source blobs to destination folder I am unable to give…
1
vote
2 answers

how to read the data from blob storage and access it by using azure function app

I have a CSV file in my Blob Storage and I need to trigger it every day So I am using timer trigger in azure function app I am able to get the Csv file Data in my azure function-app how to read and write the CSV-file data and store it in .xlsx…
1
vote
1 answer

Azure Analysis Service Tabular Model connecting to Power BI Service .NetCore Database.Model is null exception

In a Azure Function I have connect to the power bi service and can get a dataset by using the FindByName or GetByName but the Database.Model value is null. Which means i cannot refresh the dataset or update anything. While debugging can see all of…
ozhug
  • 983
  • 11
  • 19
1
vote
2 answers

Application insights not working with startup DI in Azure Functions

I am trying to log the message from the the Configure class to Application Insights. While the messages are properly logged inside the Run method, but where am adding the polly, Its not sending the message to Appinsights. //am able to log the…
1
vote
2 answers

How to catch an Exception throw by Azure Table in an async Azure Function HTTP Triggered function

I have an Azure Function HTTP triggered function which writes to Azure Table that may end in duplicated entries. I noticed that even if I try/catch'd the whole function, there will still be an Exception "leaked" to the function runner thus returning…
1
vote
2 answers

Promise is not working in azure function app javascript

I have simple demo to understand Promise concept but it is not working as expected, see my code which i have tried. module.exports = async function (context, iotHubMessage) { context.log('START'); var promise1 = new Promise(function…
Jignesh Ansodariya
  • 12,583
  • 24
  • 81
  • 113
1
vote
0 answers

How to return value from azure async function v2?

I am writing javascript first time. within the azure function app I have one async function to insert data using query see function code as below async function insertData(query) { var connection = new Connection(config); var result =…
0
votes
1 answer

Chaining pattern activity function with reading data from blob and fan-out-fan-in execution

The question is somehow related to this one I need to create a Http triggered Azure Durable Function that: Gets an API Call with some parameters, where the most important one is the list of search_terms Downloads a source data from Azure Blob…
0
votes
1 answer

How to transform a http trigger Azure Function into Azure durable Function in Python?

I'm stuck with transforming an Azure HTTP triggered function into something more robust that can take more than 230 seconds. I struggle with dividing the code into functions, not sure how to construct the activity, orchestrator and client function…
0
votes
0 answers

How to write to Blob Storage (Storage Account) when the Azure Function App throws an error?

I have an Azure Function App that is triggered by Service Bus queue and writes the output to a storage account (blob storage). The app works correctly when there are no errors. The output response object is correctly passed to the blob storage…
0
votes
1 answer

Are there any performance concerns with an Azure function that has many output bindings?

I have an Azure function that has a CosmosDB change feed trigger that I would like to populate 6 different materialized views. To accomplish this, I added 6 different CosmosDbOutput bindings. Are there any performance concerns with that many output…
0
votes
1 answer

Async Azure Function (Python) seems to not finish it's work

My azure function reads a url from a queue and writes it to blob store. Though it is burning through the queue very quickly, I am not seeing the blobs in blob store. My guess is that I am doing something wrong with async and the function is…
jrudd
  • 113
  • 2