18,062 questions
-3
votes
0
answers
29
views
Flex Consumption Per-Function Scaling: Can One Service Bus Trigger Cause OOM in Another? [closed]
We have an Azure Function App running on the Flex Consumption plan, configured with 512 MB memory. We understand that Flex uses per-function scaling, meaning each Service Bus trigger should scale ...
1
vote
0
answers
53
views
Azure Function with RabbitMQ Trigger - Queue not found in localhost
For local development I want to connect my Azure Function to a locally running RabbitMQ instance and run everything locally. But the queue is not found, even though I made sure it exists (see ...
Tooling
0
votes
0
replies
27
views
Creating an PDF report via function app in Azure Data Factory (ADF)
How can I create PDFs for members in an ADF workflow using an Azure Function App? The function needs to invoke an SSRS report URL. How can we call the SSRS URL from ADF—should we use a Web Activity or ...
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 ...
0
votes
0
answers
37
views
Azure function apps - Unable to see print logs on function app when deployed onto Azure
New to python programming and azure function apps, managed to deploy my first function app, when I run it from my local development environment, it logs useful information which gives me a good ...
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&...
-2
votes
0
answers
54
views
Azure blob trigger function app not working after deploying [closed]
I’m trying to set a trigger function app using Python and flex consumption. It works in local. But when I deploy to azure it is not showing any trigger due to new blob upload.
what will be the issue ...
Best practices
0
votes
0
replies
22
views
Azure function app not logging to application insights when network security perimeter is active
Situation
I have a function app (time triggered) (fa), connected to an app insights instance (ai).
ai is part(?) of a log analytics workspace (law) that is behind a network security perimeter (nsp)
So ...
0
votes
0
answers
68
views
Sending Messages between Applications using Azure Signal R in Default Mode
I have a client application (Blazor, dual Server/Wasm project, .NET 9.0) that is connected to Azure Signal R and has a hub defined. Within the confines of this app, using a testing page, I can send ...
1
vote
1
answer
34
views
Azure Function app Cron scheduler - missing runs
My function app is a timer triggered app and uses this cron expression for scheduling. 10 */6 * * * On most days it runs fine, but looking at the trace logs in Application insights it does not run for ...
0
votes
0
answers
29
views
How to Identify the End User from an MCP server called by a Copilot Studio Agent
I have an MCP server hosted in an Azure Function. The server is added as a tool to a Copilot agent using an MCP APi key, and works fine. But, I'd like to get the copilot user context to do ...
Best practices
1
vote
2
replies
89
views
How to handle errors in Blazor WebAssembly?
I have been using this ServiceResponse model to communicate data between an Azure Function backend and a Blazor WebAssembly frontend:
public class ServiceResponse<T>
{
public T? Data { get; ...
Advice
4
votes
2
replies
796
views
.NET 10 not available for Azure Functions in Visual Studio 2026 Insider
When I try to create a new Azure Functions app in Visual Studio 2026 Insider edition, I don't get .NET 10 as an option -- see below:
I do have .NET 10 as an option for other project types such as ....
0
votes
0
answers
61
views
Function host restarting on launch and error, when running local on Mac: "Worker failed to load function"
I am getting the below error when trying to run a new Function. The Function is created from the HttpTrigger template on dotnet cli with no edits. I am running the most recent MacOS (but I hadn't ...
1
vote
1
answer
88
views
Preventing timeout when debugging (stepping through the code) in .NET Azure Function apps
I have a number of HTTP triggered Azure Function apps that do not time out when in production. However, when I want to debug them by stepping through the code (in Visual Studio 2022), slowly and ...
0
votes
0
answers
69
views
Python Function not coming up in Azure FunctionApp
I am deploying a python function in azure linux function app, function app is created via terraform and azure CI/CD pipelines, and azure function also via zip deploy and linux function deploy using ...
0
votes
0
answers
92
views
Azure Functions (FastAPI - AsgiFunctionApp): Logs appear in Application Insights but not in Invocations tab — Category issue?
Problem Summary
I'm using AsgiFunctionApp to wrap FastAPI in Azure Functions, but my application logs are not appearing in the Azure Portal's Invocations tab. The logs do appear in Application ...
0
votes
1
answer
125
views
Azure Static Web App - “Deployment Failure Reason: Failed to deploy the Azure Functions.” caused by missing environment variable
I was deploying a .NET 8 isolated Azure Function as part of an Azure Static web app, and the deployment failed with this message:
Deployment Failed :(
Deployment failure reason: failed to deploy the ...
0
votes
0
answers
58
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
1
answer
71
views
Azure function calling protected API using Azure AD App Registration (Client Credentials Flow not working) [closed]
I have an Azure AD App Registration where I've exposed an API scope called AppUser.
This scope is being used for authentication in my Web API project, and everything works fine when the API is called ...
0
votes
0
answers
55
views
Azure Container Apps native Functions in R
I am trying to use Azure Container Apps native Functions (announced earlier this year) to run some R code in response to messages on a Service Bus queue. I have a working trigger but it is not making ...
0
votes
0
answers
62
views
MCP server not sending logs to Application Insights
I've been trying to integrate Logging to Application insights in my Azure Functions MCP server project. I have the following configuration on the Program.cs:
using McpServer.Infrastructure.Helpers;
...
0
votes
0
answers
27
views
Function app does not AuditLog.Read.All permission
My goal is to create a function app using C# as code and time trigger every 5 minutes where it queries failed Entra ID sign in logs and puts the top 100 into storage account as CSV. I have ...
0
votes
0
answers
26
views
Function App hosted on Container Apps Autoscaler configuration
I have deployed a Function App over a Container App using the kind=functionapp property as documentation suggests.
The Function App (typescript) contains only HTTP triggered functions. The Container ...
0
votes
0
answers
54
views
Azure Logic App GET to Google Custom Search returns 400 INVALID_ARGUMENT though same URL works in browser
I have a Consumption Logic App that retrieves two secrets from Key Vault (GOOGLE_API_KEY and GOOGLE_SEARCH_ENGINE_ID) and then calls Google Custom Search (customsearch.googleapis.com/customsearch/v1) ...
0
votes
0
answers
45
views
Enable Azure Function App App Service Authentication
I’ve been working on enabling identity-based authentication for an Azure Function App, which is currently invoked by Azure Data Factory (ADF) using a Function Key. As part of our move away from key-...
0
votes
0
answers
58
views
Set-Cookie headers are missing when Azure Static Web App proxies requests to linked Azure Function App
I have a Static Web App (blabla-web-dev) linked to an Azure Function App (blabla-pub-api-dev) via Serverless API hosting.
Both use custom domains; SWA uses https://dev.blabla.bla and
the Function App ...
1
vote
1
answer
76
views
Is there any way to setup Azure Function/triggers programatically without the Function/Trigger attributes?
I have been given a project that uses Durable Functions to run a few sequential logic steps with some triggers for timers/http etc.
Problem is there is sooooo much boilerplate code here, there is ...
-4
votes
1
answer
77
views
Creating Azure Alert Rule for Email Notification [closed]
I need an alerting rule in Azure that monitors tag modifications on an Azure Function and automatically sends an email notification when such a change occurs. The tag in question is app_deployed_ref : ...
0
votes
0
answers
38
views
Azure Function App not being invoked when called from an Azure App Service
I'm having an issue when using an Azure App Service, Azure Function App and SignalR. I'm using a Dev and Test environment.
The architecture of the environments seem to match each other. The app ...
0
votes
0
answers
29
views
Access certificates from Java Azure Function
I have Azure Function deployed in Linux App Service Plan P2v3.
On the left pane I can go to Settings and then Certificates. After clicking Bring your own certificates (.pfx) I can see cert DEV2APP.
I ...
0
votes
1
answer
44
views
Azure Function - Blob Output dynamic binding
We have an Event Hub triggered Azure Function (using Typescript). We need to log all the event hub messages to Azure Blob storage.
While using the output binding as shown below, the data is not ...
0
votes
1
answer
122
views
VS Code Breakpoints not working while debugging Azure Function
I'm using VS Code on Windows 11, to debug my Python Azure Functions locally
When running the debugger I am prompted with the following (https://i.sstatic.net/4a65Y85L.png)
When I select the option,'...
0
votes
0
answers
27
views
Azure Function SQL Output Binding hangs on insert (Node.js) + need APIM policy to match OIDC oid/sub
I’m trying to insert rows into Azure SQL Database using Azure Functions SQL Output Binding (Node.js).
const { app, output } = require('@azure/functions');
const { z } = require('zod');
// SQL Output ...
0
votes
0
answers
99
views
Grpc.Core.RpcException: Error starting gRPC call in Azure Functions isolated worker after upgrading to Visual Studio 2022 17.14.x
I’m running into an issue when launching an Azure Functions isolated worker (v4.2.2) project in Visual Studio 2022 (tested with 17.14.12 and 17.14.16).
As soon as the function host starts, I get the ...
-1
votes
1
answer
83
views
'IServiceCollection' does not contain definition for 'AddApplicationInsightsTelemetryWorkerService'
I am trying to create a basic Azure process function to handle a basic http request.
All AI solutions are just wasting my time with crap responses.
The code is:
using System.Threading.Tasks;
using ...
0
votes
0
answers
49
views
How to split Vite+React frontend and Azure Static Web App API backend when sharing code between them?
This question is related to React + backend - project structure when sharing code, but is aimed at Javascript (not TypeScript) and deployement onto a Azure Static Web App resource
I want to get my ...
2
votes
1
answer
105
views
Why doesn’t ActionResult<T> work in .NET Azure Functions isolated worker model?
I recently upgraded a .NET Function App from the in-process worker model to the isolated worker model.
After the upgrade, I noticed that none of the HTTP-triggered APIs were returning any data.
On ...
1
vote
0
answers
43
views
Azure function binding data suddenly disappears
We have a SignalR trigerred Azure function (Node.js runtime, model v3) that is trigerred by our SignalR Service "connected" event. Here is the input binding/trigger configuration:
{
"...
0
votes
1
answer
88
views
Application insights logs go missing during certain time of day
I have around 10 function app deployed to Azure App Service. These functions gets triggered on a schedule using a timer trigger. Some of the function apps run every 5 mins while others run once per ...
0
votes
0
answers
45
views
Why is KQL not aggregating traces by a certain property
I have this very simple KQL query in Application Insights, where I am trying to aggregate the count of errors based on it's operation_Id (which I assume would give me distinct Function invocations)
...
0
votes
0
answers
26
views
How to be sure to get user's email in userDetails of client principal data?
(This question is related to How can I safely obtain user claims from an Azure Function after authentication?)
I aim to set up Authentication for an Azure Static Web App resource using Okta as an ...
0
votes
0
answers
171
views
Azure function warning message as We've noticed that your function app (**func-xyz**) is running on an older version of the Azure Functions host
The Azure function has 3 different environment - Dev, Test and Prod.
The Dev and Test did not shows the warning given below and only Prod showed the warning.
When I analyze, I found Prod is not build ...
1
vote
1
answer
100
views
How can I safely obtain user claims from an Azure Function after authentication?
In an Azure Static Web App resource, the .auth/me route return a response with clientPrincipal and custom claims as shown in the example below:
{
"clientPrincipal": {
"...
0
votes
1
answer
191
views
Azure Function App (Isolated) with Service Bus + Managed Identity → Getting 401 Unauthorized
We’re trying to connect an Azure Function App (Isolated process) to an Azure Service Bus Queue using a Managed Identity, but we’re constantly hitting a error when function start.
Setup
Function App (....
0
votes
0
answers
29
views
azure-functions-maven-plugin generates nested folders
I created project for Azure Functions and in pom.xml I used:
<plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-functions-maven-plugin</artifactId>
...
0
votes
0
answers
123
views
MSAL python OBO authorization flow gives error AADSTS90014: The required field 'iss' is missing from the credential
I have a SPA front-end and python function app back-end. I had originally been using managed functions via Azure Static Web Apps, but I was running into a lot of errors and ended up switching to a ...
1
vote
1
answer
52
views
What does "GB-seconds" describe in Cloud Computing (Function as a Service)?
AWS defines its prices for lambda in terms of GB-seconds, and so does Azure for its prices for functions.
What does that unit refer to? Are those Gigabytes of memory allocated for a number of seconds?
0
votes
0
answers
78
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 ...
0
votes
1
answer
131
views
Azure static web app deployment with managed function
I try to deploy my static webapp with a managed function to Azure but the function deployment always fails and I don't know why. I used Node v20 and v18. I downgraded my libraries. I tried every ...