188 questions
0
votes
0
answers
52
views
Why are Application Insights logs missing intermittently in .NET isolated Azure Functions despite disabling sampling in host.json?
Problem Statement
We are using .NET isolated Azure Functions and noticed that Application Insights logs intermittently go missing, even though we explicitly disabled sampling in the host.json ...
0
votes
0
answers
74
views
How to get Information log messages to appear in Azure Application Insights from Azure Function?
I have an Azure Function (timer triggered) that doesn't seem to be writing information log messages into Application Insights. When I use LogError/Warning/Critical it works, but LogInformation does ...
1
vote
1
answer
209
views
MCP Extension for Azure Function not accepted in host.json
I'm following the official Microsoft articleModel Context Protocol bindings for Azure Functions overview to make MCP-callable a function of my Azure function app, which works well through input and ...
1
vote
1
answer
145
views
Disabling Dependency Tracking - Azure Functions (Isolated, v4) - .NET 9
I'm struggling to disable dependency tracking in a project that uses Azure Functions (v4) using .NET 9 as an Isolated Process. I want to do this as these entries are clogging up our log files with ...
0
votes
1
answer
162
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
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
0
answers
41
views
Access FunctionContext.Items inside GraphQL resolver with HotChocolate.AzureFunctions.IsolatedProcess?
How to access FunctionContext.Items inside GraphQL resolver with HotChocolate.AzureFunctions.IsolatedProcess?
Environment: .NET 8.0
Azure Functions Isolated Worker
HotChocolate.AzureFunctions....
0
votes
1
answer
51
views
Failed to retrieve appconfiguration in Azure Functions
Can we retrieve the app configuration from Azure Functions in the dev or prod environment? It works locally, but not in the dev environment.
I'm trying to fetch connections from Azure App ...
0
votes
1
answer
313
views
Visual Studio is having trouble creating a new Azure Function. Instead of the Azure Function icon, it's showing the C# icon
I'm trying to create a new Azure Function in Visual Studio, but I'm encountering an issue. When I attempt to create the function, instead of the Azure Function icon, it displays the C# icon. This is ...
0
votes
1
answer
327
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 ...
0
votes
1
answer
141
views
Azure Function Isolated Model dependency library sharing between worker and host process
Regarding Azure Functions Isolated model.
Help me with below question
Often saw in Microsoft docs that says, In-Process model shares the dependency libraries between Host & Function worker process....
0
votes
2
answers
162
views
Azure HttpTrigger function avoid waiting for response
In Visual Studio I created a new Azure Function project with an HttpTrigger function.
This is the code for the function:
public class DoSomething
{
private readonly ILogger<DoSomething> ...
0
votes
1
answer
168
views
Error when using the ExponentialBackoffRetry attributed in an Azure isolated function
I've got an Azure isolated function like so:
[Function("TransactionEventsIntegration")]
[ExponentialBackoffRetry(maxRetryCount: 3, minimumInterval: "00:00:02", ...
0
votes
1
answer
118
views
How can I send debug logs directly to Application Insights from an Azure Function app without modifying host.json?
I'm developing an Azure Function app with C# / .NET 9 in the isolated worker model.
According to the docs, it should be possible to send application logs directly to Application Insights instead of ...
1
vote
2
answers
236
views
Upgrading to .NET 8 / isolated worker model changes http return status code
I have the following function that should return either a 200 response with a book as payload or a 404 with empty body:
using System.Collections.Generic;
using System.Threading;
using System.Threading....
1
vote
1
answer
187
views
How do you modify the serialization options for Azure Functions v4 isolated?
Background problem:
I have a document POCO that I would like to use with the CosmosDbOutput binding extension (latest, v4).
I prefer to have my POCO property names in PascaLCase, and my Cosmos / Json ...
0
votes
1
answer
254
views
Azure Functions Isolated worker model adding to Azure Storage queue error: System.ObjectDisposedException
Has anyone tried the following Microsoft quickstart "Connect Azure Functions to Azure Storage using Visual Studio Code" with Isolated worker model?
https://learn.microsoft.com/en-gb/azure/...
1
vote
1
answer
136
views
Set name and/or container name dynamically when using BlobOutputAttribute
I'm working on an azure function that is triggered by a service bus queue and finally posts content to a blob storage container using "BlobOutputAttribute" binding:
[Function(nameof(...
0
votes
1
answer
125
views
Azure Function Configuration values not available in function attributes
I have an Azure Function running in Azure Portal. Its configuration resides in a configuration resource, some values are in a key vault resource. The Azure Function was implemented in .NET 6 with the ...
0
votes
1
answer
654
views
CustomDimensions not showing in ApplicationInsights traces in Azure Functions Isolated
I am trying to add a customDimension to my Azure Function logs but they don't seem to be coming through and I have no idea why. I have tried using BeginScope and sending the args with the individual ...
2
votes
2
answers
567
views
Swagger UI freeze when response is too large around 2mb
I have added OpenAPI doc to my Function app project using Microsoft.Azure.Functions.Worker.Extensions.OpenApi, but the swagger/ui freeze when the response is too large, around 2mb. Is there anything I ...
-1
votes
1
answer
251
views
How to log startup errors to the console and view them, when Application Insights is not yet configured in Azure Function App?
How to log startup errors to the console and view them, when Application Insights are not yet configured and no ILogger<T> instance is available?
I want to catch and log errors during to ...
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 ...
2
votes
1
answer
500
views
.Net8 Isolated FunctionApp not showing up in Azure after deployment
FunctionApp works fine when deployed from Visual Studio using the downloaded publish profile from Azure. But when I try to deploy from Gitlab using ci/cd pipeline, the FunctionApp is not displayed in ...
0
votes
1
answer
63
views
Azure functions in .net6.0
I have an azure function in .net6.0 converted from framework 4.72. My code as follows,
[FunctionName("GetAllProducts")]
public static async Task<HttpResponseMessage> ...