64 questions
0
votes
1
answer
183
views
Failed to sync triggers for function app 'funcsintest03'. Error: BadRequest - Encountered an error (BadGateway) from host runtime. (CODE: 400)
I have an Linux Azure function with runtimeStack as 'DOTNET-ISOLATED|9.0'. I am using consumption plane and AzureFunctionApp@2 Azure DevOps pipeline task to deploy my code from Azure DevOps.
- ...
0
votes
1
answer
530
views
Azure Function Runtime Version Error: Mismatch or Unsupported Runtime Detected
I have migrated the Azure function from .Net 6.0 to .Net 8.0 (dotnet-isolated) and runtime version ~4. It is working as expected in local. If I deploy the azure function using Visual studio to the ...
0
votes
2
answers
190
views
Some logs don't reach appinsights with isolated function app
I got a C# Azure function app and it uses an ILogger to log to app insight.
Until recently, the function app was implemented using .NET 6 and everything was fine. I then converted it to use .NET 8 and ...
3
votes
2
answers
6k
views
Update Azure function to isolated worker model gives 'FUNCTIONS_WORKER_RUNTIME' warning
I have updated an Azure function app from the in process model to the Isolated worker model but get this warning message in the portal.
The 'FUNCTIONS_WORKER_RUNTIME' setting is required. Please ...
1
vote
1
answer
367
views
Isolated worker function apps can't find queues with custom storage connections
I have an isolated worker function in .net 8 that i want to use appsettings.json for all the configuration (NOT Environment Variables). Why? Because we use appsettings.json in the other three ...
1
vote
1
answer
549
views
.NET 8 upgrade issue for functions using Durable functions and Orchestrator
I have upgraded function which uses Orchestrator and Durable functions from .Net 6 to .Net 8 (isolated model) and after upgrade when I am trying to run the function, I am getting the error
...
0
votes
2
answers
1k
views
Azure Functions error after upgrading to "isolated" instead of "in process": Error building configuration in an external startup class
I ran into this error when upgrading from an older version of .NET Core where functions ran "in process" to .NET 8 "isolated" instead of in-process. The details of this error were:
...
0
votes
0
answers
632
views
Invalid async invocation in dotnet-isolated Azure Function project when calling a sub orchestrator
This is a .net8, Azure Functions v4, dotnet-isolated project. I'm getting the following exception:
System.InvalidOperationException: 'An invalid asynchronous invocation was detected. This can be ...
0
votes
1
answer
1k
views
Isolated Worker Azure Function - Function Input Bindings error on startup
I am porting a .NET 6 in-process Azure Function app, to .NET 8 with dotnet-isolated.
We do not store our secrets in source control/locally. So for local development, previously, we used placeholder ...
1
vote
2
answers
853
views
Azure Function Isolated Worker: Is it possible to write the host logs to the console provider?
For a .net 6 isolated worker app these are the logs of an initial run and in here we can see that there are no console provider entries for the 'Executing' and 'Executed' messages, they don't have the ...
0
votes
1
answer
399
views
Azure Durable functions: How to use ManagedIdentity connection in ServiceBusTrigger
I have a .Net8 dotnet-isolated Azure Durable Functions project.
I'm using a ServiceBusTrigger to get the messages from a service bus queue:
[Function(nameof(Function1))]
public async Task Run(
...
2
votes
1
answer
2k
views
Unit Testing Isolated Model Azure Durable Function Orchestrator in .Net 8
The documentation for Durable Function Testing only talks about the in-proc model - https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-unit-testing
I have a timer-...
4
votes
4
answers
8k
views
Azure function not visible in azure portal after upgrading to .net 8 Isolated process model
We have recently upgraded our function projects in .net core api app to .net 8 Isolated model. A new timer trigger function has been added in one of the function projects which runs perfectly fine ...
0
votes
2
answers
291
views
Azure ServiceBusTopicTrigger - Isolated Function - Managed Identity
I have got Azure Service bus topic trigger created. Not sure why it is not pulling messages off a subscription from a topic. I do have my user role setup in as reader/write in Azure using Visual ...
0
votes
1
answer
858
views
Azure Function app .NET 7 isolated mode unhandled exception
Updated with another example.
I have an Azure Function app running on .NET 7 in isolated mode on a Linux app service plan.
I'm experiencing some issues related to a orchestration function is not ...
3
votes
1
answer
1k
views
.Net 7 Azure function for isolated process compile error with ServiceBusTrigger
I'm adding a new azure function (isolated process) to a running .net 7 project, but got the compile error "The attribute 'ServiceBusTrigger' is a WebJobs attribute and not supported in the .NET ...
4
votes
0
answers
832
views
Is there any way to know target method in a middleware of azure function isolated app
I have a .NET 6.0 isolated azure function app. I want to implement custom JWT token validation. I am following this blog and created Authentication middleware for validating tokens. However there is a ...
0
votes
1
answer
2k
views
Isolated Azure functions failed to access Azure Service Bus
My Isolated Azure funtion is accessing Azure Service Bus. The Function App is working locally.
[Function("Function1")]
public async Task Run([ServiceBusTrigger("email", Connection =...
0
votes
1
answer
1k
views
Azure Function Isolated Worker Process - HTTP Trigger firing but not running function
Using the http trigger outlined here - https://learn.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-process-guide
[Function("HttpFunction")]
public static HttpResponseData ...
2
votes
1
answer
1k
views
Service bus-triggered Azure function failing with System.Threading.Tasks.TaskCanceledException
We have a very simple .NET isolated v4 Azure function app running .NET7 that has three functions all using the ServiceBusTrigger.
We've found a small proportion of executions are failing with the ...
0
votes
1
answer
353
views
dotnet-isolated azure function container loads 0 of 1 function from metadata and then gives http status 204 (content not found)
I have .net 6 isolated function docker container that works locally but not in azure. The docker file copies the build output binaries to the home/site/wwwroot directory of the container based on the ...
2
votes
1
answer
476
views
Azure function queue trigger distributed tracing
I have a .NET isolated function with a queue trigger.
When triggering that queue from the storage explorer or from another function using a QueueServiceClient, a new operationId is made up. Thus I ...
1
vote
2
answers
1k
views
Azure Function V4 Dotnet Isolated unable to connect to cosmos db
I am following some tutorial to connect Azure Function to Cosmosdb like this (the tutorial is for a V3 in-process azure function)
[CosmosDBTrigger(databaseName: "Test",
...
1
vote
0
answers
145
views
Azure function does not scale
Today we met a problem with our azure function after redeploy a new version. We use Azure Function v4, .NET 6 and isolated process. Function is on consumption plan. Function includes about 150 http-...
3
votes
0
answers
492
views
How do you abandon a message in a dotnet isolated Servicebus triggered function?
Is there a best way to abandon a message in an Azure dotnet isolated function app? I'm currently throwing an exception to force the function to complete unsuccessfully as there is no way to access a ...