Questions tagged [azure-durable-functions]

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

https://learn.microsoft.com/en-us/azure/azure-functions/durable-functions-overview

668 questions
2
votes
1 answer

Understanding parallelization of azure orchestration functions

I have some difficulties understanding how azure durable orchestration functions parallelization (and scaling) works under the hood. I am referring to this official document. There it states: Because the orchestrator and entity function instances…
Tobias von Falkenhayn
  • 1,355
  • 5
  • 26
  • 59
2
votes
1 answer

The listener for function 'functionName' was unable to start. <--- Forbidden

I am trying to implement azure durable functions in C# I have few activity triggers there myActitivityTrigger1,myActitivityTrigger2 Its all working fine locally (From Visual Studio). But when I deployed it into azure, it starts saying The listener…
Sandeep Thomas
  • 4,303
  • 14
  • 61
  • 132
2
votes
0 answers

Cancel array of Tasks with RetryOptions using Azure Functions

I'm using Azure Functions V4. In an orchestration (MyCustomOrchestration) I do a fan-out and call an ActivityTriggered-function (HandleIdFunction). The fan-out will usually contain around 20 tasks. The HandleIdFunction is called with a RetryOptions…
2
votes
1 answer

Manually 'approve' sub-orchestrator retry (Azure Durable Functions)

I am building an order processing system using Azure Durable Functions to process incoming orders step by step. This process consists of executing multiple sub-orchestrations handled by one "main" Orchestrator. I have simplified the example below to…
Matthijs
  • 2,483
  • 5
  • 22
  • 33
2
votes
1 answer

How to get status of Azure durable functions when the function app is linked to a static web application?

I have Azure durable functions app which is linked to a Azure static web app. I'm able to orchestrate function app through http trigger but I'm unable to access status url statusQueryGetUri I'm getting following error, {"code":400,"message":"Login…
2
votes
2 answers

Azure Durable Functions - where's the HostBuilder equivalent?

I'm using an Azure Durable Function to orchestrate other functions, currently contained in the same project. I want to configure services and logging for those orchestrated functions. How can I do that? Here is some more detail: In a "normal" Azure…
2
votes
2 answers

'IServiceCollection' does not contain a definition for 'AddPolicyHandler'

I am getting error in my .NET 5.0 framework Azure durable function project in VS2019 'IServiceCollection' does not contain a definition for 'AddPolicyHandler' and the best extension method overload…
User3250
  • 2,961
  • 5
  • 29
  • 61
2
votes
1 answer

How to Post JSON to Durable Azure Function (Python)?

I would like to call Durable Azure Functions from Azure Data Factory. I would like to post json to Functions and get status when Function processing have completed. My ultimate goals is to successfully run Functions which takes 10min without…
Kenny_I
  • 2,001
  • 5
  • 40
  • 94
2
votes
1 answer

CosmosDB : TransportException - A client transport error occurred

Seeing a flood of Object reference not set to an instance of an object exceptions when client tries to query cosmos. Upon checking deeper the exception message has details like below: { "CPU Load History":{ "CPU…
2
votes
2 answers

How to use ManagedIdentity in Azure Function storage account connection string

I have an Azure Function that is using durable functions: local.settings.json "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", "DurableFunctionsStorageConnectionString": "UseDevelopmentStorage=true" } host.json "extensions": { …
2
votes
1 answer

Parallelization in Durable Function

I'm trying to understand how parallelization works in Durable Function. I have a durable function where I first get a list of items and then all items should run in parallel. Meaning the time taken to execute 10 items and 10000 items should be the…
user989988
  • 3,006
  • 7
  • 44
  • 91
2
votes
2 answers

Azure Function long duration and App Service Plan, Durable function

Im preparing AZ-204 certification. We want to execute a function during a long time. the solution (in Microsoft docs) is to use App service plan or durable functions In one practice test i found a confusing response of the question below: "You…
2
votes
2 answers

How to copy Azure storage account contents (tables, queues, blobs) to other storage account

I'm using Azure Durable Functions and I want to make a copy of the "production data" storage account to another storage account, to test out some things (such as data migration strategies, performance and other issues). For that, I was hoping to…
Sam Vanhoutte
  • 3,247
  • 27
  • 48
2
votes
1 answer

Azure durable function "terminatePostUri" gives 404 when triggered

I'm creating an Azure Durable function app where the orchestrator run for a while but I need an option to cancel the orchestrator if needed. I'm trying to use the "terminatePostUri" from Postman but it gives me a 404 response. Other instance…
Pratik
  • 204
  • 2
  • 14
2
votes
1 answer

Does PurgeInstanceHistoryAsync remove old history for infinite orchestrations that use ContinueAsNew

I have an orchestration that runs as a singleton by using the same instance id each time. It also runs infinitely by using ContinueAsNew at the end of each iteration to keep the history manageable. However, I have noticed that the history of each…
Boschy
  • 126
  • 10