821 questions
0
votes
0
answers
25
views
Azure Durable functions in Running state for durable entities
I'm troubleshooting why async tasks within the durable entity hang forever. My entity looks like this
public MyEntity : IMyEntity {
[JsonIgnore]
private MyService _myService;
[JsonProperty]
public ...
Advice
0
votes
0
replies
35
views
Refactoring Azure Functions .dll files to external project makes it fail for durable functions, why
I have build my project using Azure Functions, my project has core projections which hold core projects
so I have
MyProject.Core
<PackageReference Include="Microsoft.Azure.Functions.Worker&...
1
vote
0
answers
47
views
Durable Function orchestrator race condition
I have an Azure Durable Function that is triggered when users send SMS messages. I'm using the function to collect multiple messages if they arrive within a short duration, and create one consolidated ...
0
votes
1
answer
144
views
Azure durable function v2 is not visible in Azure portal
I'm developing a bunch of Azure functions (some httpTriggers, some timerTrigger) and they do appears fine when debugging and/or when deploying in Azure portal.
Now, I've add an Azure durable function ...
0
votes
1
answer
89
views
How do you start parallel instances of 1 durable function via HTTP Post?
Using a Durable Functions template I've created a function that simply starts execution of a method by calling the generated SendEventPostUri request which starts a timer of 60 minutes and completes ...
1
vote
0
answers
108
views
Azure Function durable task execution time slows down tremendously when a larger workload is processed
If I process a workload of 1k documents it completes in 2 minutes. If I process a workload of 5k documents it completes in 53 minutes. Work is distributed across 20 Activities and I can see 10 ...
0
votes
1
answer
112
views
Durable Function executes with default timeout ignoring the host.json Timeout setting
I created a very simple Durable function to test the ability of setting a timeout threshold of 60 minutes.
My target framework is .NET 8.0 and I using the Isolated model for my function.
According to ...
0
votes
1
answer
195
views
Azure Durable Function Distributed Tracing, How to hide Storage related tasks
Is there a way to hide the microsft table activity when viewing the full length of the distributed trace...
If I have dozens of sub activities and orchestrations, having this additional noise is ...
0
votes
1
answer
162
views
Azure Durable Function not running as expected at scheduled time, no exception, no logs
I have an Azure Durable Function that's scheduled to run every day at 18:00:00 UTC to generate a premium leads report. The function is triggered, but sometimes it doesn't complete or seems to silently ...
0
votes
1
answer
177
views
Durable Task RaiseEventAsync not triggering orchestration after upgrading from .NET 6 to .NET 8 (Isolated)
We recently upgraded our Azure Functions project from .NET 6 to .NET 8 using the isolated worker model. After the upgrade, durable orchestrations that were originally created in .NET 6 are no longer ...
0
votes
1
answer
211
views
Azure Durable Functions not working with Custom Middleware
I have an Azure Durable Function that worked before I added custom middleware. Do Azure Functions work with custom middleware?
I've added the middleware to manage custom authentication and to ...
0
votes
1
answer
54
views
How to batch 3 incoming HTTP chat messages in Azure Durable Functions (Isolated .NET)?
I'm trying to process chat messages using Azure Durable Functions (in the .NET Isolated Worker). Sometimes 3 or more messages are sent within a short timeframe, and I want to batch or debounce them ...
0
votes
1
answer
62
views
delete blobs only after reading blobs
I have an Azure Durable function in which I need to read a few blobs in "blobs" path, upload a new blob and once that's complete, delete the blobs in "blobs" path
filePath = await ...
0
votes
1
answer
89
views
append blob with .NET appending data to separate arrays
[FunctionName(nameof(MembersReaderFunction ))]
public async Task<string> GetMembersAsync([ActivityTrigger] MembersReaderRequest request)
{
var response = await ...
0
votes
0
answers
79
views
How to invoke durable function activity from within a callback function?
I'm trying to consume messages from kafka topic using Azure durable function and as the new messages arrive I want to invoke the activity function to process the messages. The problem here is that the ...
0
votes
2
answers
171
views
Durable Function with Service Bus: Messages Sometimes Not Processed by My Function App, Yet Logic Still Runs
My Function App is using Azure Durable Functions triggered by Service Bus to process scheduled messages.
Sometimes, these messages aren't being received by my Function App but the messages disappear ...
0
votes
0
answers
31
views
Change generator invocation to get rid of subgenerators
I am trying to upgrade my code currently using azure durable-functions library from 1.5 to 2.0. As a part of the change, I would to get rid of the subgenerators usage.
Currently, my code is written as:...
-1
votes
1
answer
136
views
While working on durable function in azure apps i got this error while it published to online it is perfectly work in local host
"message": "Function 'UpdateCustomerDetails_Orchestrator' failed with an unhandled exception.",
"details": "Microsoft.Azure.WebJobs.Host.FunctionInvocationException: ...
0
votes
1
answer
57
views
Failed to find binding?
I have an Azure Function App which runs with Node.js. The project uses the following dependencies (from package.json).
"@azure/functions": "4.2.0",
"durable-functions": &...
0
votes
1
answer
79
views
Trouble handling user input in an azure durable function in C#
I have an Azure durable function in C# and endpoint is triggered starting the durable function with basic info, and action function is called and creates a record in a database.
Now the durable ...
0
votes
1
answer
331
views
ADO pipeline breaks because of grpc dll not compiled with control flow guard
I am working on a Azure Durable Function in Isolated Worker Model and using durable task extension "Microsoft.Azure.Functions.Worker.Extensions.DurableTask" for the same. This package ...
1
vote
1
answer
116
views
Azure durable functions PurgeInstanceHistoryAsync not working
After making the framework upgradation for the existing durable functions project the cleanup job which was triggered on an time interval is failing
{"odata.error":{"code":"...
0
votes
1
answer
141
views
Durable function retry settings
I wrote an Azure Function App with Durable Functions. While testing with a large dataset, I realized that the functionTimeout value was 10 mins. This caused some of the orchestrations to timeout. Thus ...
1
vote
1
answer
181
views
Durable Functions - objects returned by Activity Function are empty in orchestrator
I'm using Azure Durable Functions and have an activity that returns a list of objects of my custom class.When I check the result in the Activity Function before it's returned, everything seems correct....
1
vote
1
answer
87
views
How to access a durable entity from a DelegatingHandler?
I have a durable functions orchestration, where I need to rate-limit the requests to an external API. There are a bunch of tasks in the orchestrator that invoke a 'DownloadData' function with ...
0
votes
1
answer
172
views
The listener for durable function was unable to start because the target machine actively refused it
I was successfully running Azure Durable Functions locally and now I am not able to run them and am getting the following error. Not sure what has changed -- any pointers on what to look at would be ...
1
vote
1
answer
114
views
Azure durable function stuck
I created a azure durable function in .net6 here its code snippet
I'm facing two issues
Orchestrator function wont complete despite all activity function execution completes without any exception
...
0
votes
1
answer
932
views
Durable Function error "Authorization failed. These requirements were not met: [...].Security.Authorization.FunctionAuthorizationRequirement"
I followed quickstart-python-vscode and deployed an example Durable Functions app.
When I try to call the /api/orchestrators/hello_orchestrator endpoint, I am getting the following error:
2025-01-...
0
votes
1
answer
160
views
Use of HttpClient with a DelegatingHandler in Azure Durable Orchestrations
I have a durable orchestration for an ETL job that downloads data from an external API. The token for the external API is stored in an Azure Key Vault.
The orchestration triggers several ...
0
votes
1
answer
514
views
Durable Function error "This request is not authorized to perform this operation"
I followed quickstart-python-vscode and deployed an example Durable Functions app.
I cannot call the published function, there are the following errors in the Func App log:
[Information] func1-control-...
0
votes
2
answers
157
views
Azure Durable Function - add custom headers to 202 response in trigger
we are trying to figure out how to alter the default 202 response, and add custom headers on success from called trigger function.
Reason we are trying to do so, is preserving already existing ...
0
votes
1
answer
137
views
Azure - Eternal Orchestration
I'm trying to create an eternal orchestrator, but I can't seem to get it working.
Here is a snippet of my code.
HTTP Trigger
@FunctionName("MQMessageOrchestrate")
public ...
0
votes
1
answer
369
views
Azure Function - parameters are declared in Python but not in function.json: {'starter'}
I have a project with an Azure function that have two http triggers functions.
import azure.functions as func
from func_utils.main_func import http_trigger_function
from func_utils.get_data_trigger ...
0
votes
1
answer
178
views
Durable Function with Global Exception Handler
We have a Durable Function with multiple orchestrators and activities. We would like to use a middleware as global exception handler instead of handling it in every orchestrator/activity. We can catch ...
0
votes
0
answers
112
views
How to Implement Controlled Parallelism with Azure Powershell Durable Functions to Work with Exchange Module Session Limits?
I am working on a solution that uses Azure Durable Functions to perform multiple parallel tasks in the ExchangeOnlineManagement module, collecting the Unified Audit Log to improve efficiency and speed ...
1
vote
1
answer
278
views
Azure DevOps pipeline callbacks and Azure Durable Functions' status mechanism
I have an Azure function app with a very long running operation. My main goal here is to be able to get the status of the current run by an external process polling for a state.
I briefly read about ...
0
votes
1
answer
443
views
How to use queue triggers in Azure Durable Python Functions with managed identity
I'm developing a queue trigger for an Azure Durable Function. When using the "queue_trigger" decorator, I'm required to provide a connection string. However, I need to avoid using a ...
0
votes
1
answer
432
views
.NET 8 Durable function - unable to catch activity timeout when running locally in VS 2022
I'm currently developing a durable function to handle large file uploads, and I'm having some issues trying to test activity timeouts locally.
In brief, the scenario I'm trying to test is as follows: ...
0
votes
1
answer
127
views
Timer triggered Azure Durable function not working in App Plan
I have a timer-triggered durable Azure function mentioned by Ikhtesam Afrin in this post.
I had it in the consumption plan and it was working fine.
I have deployed it in the App plan (B3).
On the home ...
0
votes
1
answer
615
views
Azure Durable Function - Change the default port for Azurite
I have created a .NET 8 isolated worker durable orch function using C#. I am unable to run the solution in my local as I am having issues while trying to turn on Azurite in my local.
I get this error:
...
0
votes
1
answer
203
views
durable function working on local but not on the cloud
I am currently facing a very strange issue with the code I wrote for an Azure Function. It works fine in the UAT environment and also works locally when using local.settings.json to connect to the ...
1
vote
1
answer
50
views
Durable Task Framework - Timer not firing
In one of my orchestrations a timer gets based on a date specified in the orchestration input object. This date sometimes needs to be updated after the orchestration has started. I am currently trying ...
0
votes
1
answer
90
views
Facing issue in deploying a Quart application in Azure Durable Funtions with Docker
I am trying to deploy a python Quart application to Azure function with Docker. Below is my Docker file. My Azure function is failing to start. I get "Application error" when accessing the ...
0
votes
1
answer
104
views
Timer triggered Azure Durable function | orchestrationContext is null
I am trying to have an Azure Durable Function with Fan-out/Fan-in in C#.
For my orchestrator, I have the following signature.
public static async Task TimerStart([TimerTrigger("0 */15 * * * *&...
1
vote
0
answers
140
views
Azure Functions App makes a lot of transactions to Blob Storage
I have Durable Functions in Azure Functions App and recently noticed that the Functions App is making a lot of transactions to the Blob Storage attached to the Functions App.
The app makes roughly 37,...
2
votes
1
answer
1k
views
Is it possible to inject DurableTaskClient in Durable Functions (isolated model)?
I would like to have a service that is capable of starting an orchestration. I am using isolated model. Is it possible to inject DurableTaskClient through dependency injection?
I tried configuring ...
0
votes
2
answers
893
views
Strange bevahiour of Durable functions in .NET 8.0 Isolated with activityFunctions
I am having very bad experiencie with durable functions, So the case is that I have the following code:
public async Task RunOrchestrator([OrchestrationTrigger] TaskOrchestrationContext context, ...
1
vote
1
answer
247
views
How do I get my connection string in an Azure Durable Function
All my connection strings are added to my Azure Function app via the Azure Portal. In a http function, I'm able to access them through adding IConfiguration to my constructor:
private readonly ILogger&...
0
votes
2
answers
196
views
Azure Orchestrator function failing without running code inside, what could be the cause?
I have an http triggered azure function that starts an orchestrator function. In my dev tenant the code runs without a problem but when deploying to another tenant there has been nothing but trouble, ...
0
votes
1
answer
111
views
How to pass and handle parameters Durable functions v4 javascript?
I'm very new with durable functions V4 in javascript but I cannot get this activity to run properly. I always get an error as apparently I'm not passing in the Instance ID correctly.
What am I doing ...