Azure / azure-functions-durable-extension

Durable Task Framework extension for Azure Functions
MIT License
715 stars 270 forks source link

TokenSource parameter in not available in DurableHttpRequest constructor in Azure Durable function in Isolated mode #2948

Open vibhu12345 opened 5 days ago

vibhu12345 commented 5 days ago

The class DurableHTTPRequest does not support managed identity token source when using Azure Durable function in Isolated mode. https://github.com/Azure/azure-functions-durable-extension/blob/dev/src/Worker.Extensions.DurableTask/HTTP/DurableHttpRequest.cs

But it is supported in in-process mode. https://github.com/Azure/azure-functions-durable-extension/blob/4714ad1b0f4534a28d37a6871847543b8d43abc8/src/WebJobs.Extensions.DurableTask/DurableHttpRequest.cs

Please provide the solution for the same. If Isolated mode has lesser features than In-Process why is it recommended to upgrade it?

cgillum commented 5 days ago

Apologies for this. It seems that there's a functionality gap for the Durable HTTP feature between .NET in-proc and .NET Isolated. Things like the HTTP 202 polling and TokenSource integration have not yet been ported to .NET Isolated. This is something we plan to fix in the coming months. We can use this issue to track progress.

FYI @lilyjma