Questions tagged [azure-functions-runtime]
The azure-functions-runtime tag has no usage guidance.
386
questions
-1
votes
0
answers
43
views
How to check azure function execution status programmatically in C#?
I want to check a particular azure function’s execution status programmatically from another azure function [HealthCheck]. I have http trigger health check function that will check the status of ...
0
votes
1
answer
31
views
Is it possible to run durable azure functions on premises or locally
just reading on azure durable functions for writing business process, and was wondering if this offering is necessarily bundled with azure, or if the runtime can be hosted on premises or locally etc ?
0
votes
0
answers
30
views
Azure Functions: How to programmatically read log levels?
For Azure Functions, log levels are configured in the host.json. How to read its values programmatically for logging nodes?
We tried to read it from the environment variables as described here, but ...
0
votes
0
answers
63
views
Is it possible to invoke OrchestrationTrigger or ActivityTrigger functions in a nuget package?(C#)
As the question has stated, I want to put orchestrator functions and activity functions into a nuget package for other projects to call. However, after testing locally, when I invoke an orchestrator ...
0
votes
0
answers
25
views
When moving project from windows service to azure functions facing problems with project Dlls
Most of the migration part from windows service to Azure functions were fine. Until I got stuck with Data Layer project where we are using ADO.net to create Database instance DatabaseFactory....
-1
votes
1
answer
53
views
Update Azure Function Node.js Version, avoid downtime and lost messages
I have an Azure Function App hosted on an Elastic Premium service plan. It triggers from coming Service Bus messages.
I need to upgrade the Node.js version from 12 to 14 (configured in General ...
0
votes
0
answers
46
views
"maxConcurrentRequests" is not working in dedicated ASP for azure function
I have Azure function in V4. and I have host.json as it is mentioned that maxConcurrentRequests is 10 but at the time of execution azure function ignores this setting. I checked on the internet and ...
2
votes
1
answer
82
views
Azure Function disabled setting "user" field to HTTP request object on the 26th of April 2022
(!) Issue cannot be reproduced locally.
Azure Function Version ~4
Node Version 14.18.1
Creating a simple HTTP triggered Azure Function and setting just two simple properties we get the following code:
...
0
votes
1
answer
79
views
Deploying an executable JAR on Azure functions without docker image?
I am trying to replicate on Azure Functions the example that is in Quickstart: Create a Go or Rust function in Java. I set up a couple of methods that respond to REST requests, and I bundled them as ...
0
votes
0
answers
50
views
Azure Function Access Denied on call to HttpCreateServerSession (Win 32 HTTP Server API) in Custom Handler
I created a simple HTTP Server in C++ using the Win32 HTTP Server API.
auto server = HttpInitialize(HTTPAPI_VERSION_2, HTTP_INITIALIZE_SERVER | HTTP_INITIALIZE_CONFIG, NULL);
if (!server)
return;
...
1
vote
2
answers
236
views
Azure Function "General Settings" is missing
I've recently been messing with Azure Functions and I noticed that one of my Azure Functions is missing a configuration tab.
The tab in question is this "General Settings" and I need to ...
-1
votes
1
answer
45
views
Is it possible to trigger an Azure function with Python runtime inside a Azure Logic App workflow?
I have some Azure functions with python runtime which perform data validation tasks. I want to trigger the Azure functions inside a Logic App workflow. Is this possible?
0
votes
1
answer
320
views
Failed to create the task hub: DurableTask.AzureStorage.Storage.DurableTaskStorageException
I have migrated my Azure functions project from .Net Core 2.2 to .Net Core 3.1. So, I have also updated other nuget packages to support .Net Core 3.1. After that, when I run my functions project it ...
3
votes
1
answer
162
views
"Method overloads are not supported. There are multiple methods with the name." when running Azure Functions in Docker
I execute a very simple Function App to Docker with this Dockerfile
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs....
0
votes
2
answers
821
views
Unable to debug Python Azure function in VS Code IDE. Getting connect ECONNREFUSED 127.0.0.1:9091 error
I am trying to debug Azure functions python code using VS code IDE.
Local.settings.json is updated with below config
"AzureWebJobsStorage": "UseDevelopmentStorage=true"
Things I ...
1
vote
1
answer
283
views
Azure function runtime integration doesn't work
I work on azure synapse and I want to use an Azure function to call python code (I search to list all sheet names from excel files).
However I don't understand how to run an azure function, I tried to ...
1
vote
1
answer
265
views
See multiple ways to obtain ILogger in Azure Functions 6 from docs and templates, what are the differences?
I'm using Azure Functions 6 (.NET 6, isolated), with Application Insights enabled.
From different versions of Visual Studio, Azure Functions Core Tools, the default Microsoft templates and other docs ...
4
votes
2
answers
650
views
Couldn't detect a version for the platform 'dotnet' in the repo
I am trying to deploy azure function in .net 6 with Linux OS and I am getting following error :
[error]Failed to deploy web package to App Service.
[error]Error: Package deployment using ZIP Deploy ...
1
vote
2
answers
609
views
Azure Function App Runtime not available in Visual Studio 2019 Version 16.11.4
I have an azure function app which is running in Visual Studio 2019. I updated the project to use the TargetFramework from .net 5.0 to .net 6.0 and I also have Microsoft.NET.Sdk.Functions version 4.0....
0
votes
1
answer
64
views
Azure Functions cold start when the warm instance count is increasing beyond 1
In Azure Functions consumption mode, is there any cold start when the warm instance count goes from 1 to N? I'm aware of cold starts that customers experience when there are no warm instances running. ...
0
votes
1
answer
451
views
Azure function HTTP trigger Blob storage output binding
I try to develop HTTP trigger azure function using C# and .net 3.0.1 (runtime ~3) and Visual Studio 2019.
In my function I want to write data into blob and I want to be able set destination file name ...
0
votes
1
answer
551
views
Trouble running Azure functions using runtime 4, .NET 6, out of process
I'm trying to run a set of Azure functions using .NET 6 and dotnet-isolated. When run locally the Program.cs/Main method is correctly invoked. When published to Azure the Program.cs/Main method is ...
1
vote
1
answer
1k
views
ORA-12545: Network Transport: Unable to resolve connect hostname
Getting following exception two week once in PROD, when calling azure function from core api 3.1.
Below issue occurred when establishing the connection with oracle DB using ADO.Net. especially when ...
0
votes
1
answer
225
views
Function app SDH Upgrade from 3.0.x to 4.0.x
I am trying to upgrade function app sdk from 3.0.x to 4.0.x
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.13" />
<PackageReference Include="...
0
votes
0
answers
64
views
Unload assemblies after azure function is executed
I have an azure function which performs an grpc call to a server (.net 6). Inside the function I dynamically load an assembly (dynamically generated) which unfortunately is not unloaded after the ...
0
votes
1
answer
180
views
Deploy custom connector for Logic Apps (Standard)
I'm looking at creating a custom connector for Azure Logic Apps (standard). There isn't much documentation available (primarily sourced around this blog post). I'm using a sample FTP custom connector ...
0
votes
1
answer
302
views
Read function timeout of Azure Function App from C# code
I set my function timeout for my Azure Function App in the host.json on deployment:
{
"version": "2.0",
"functionTimeout": "00:10:00", //max 10 minutes
.....
0
votes
1
answer
286
views
How to know whether Azure Function has stopped running?
Can someone with how to get the status for Azure Function. Here's the use case.
User submits the lengthy form online on our website. Once the form is submitted on UI, the spinner comes up
In ...
0
votes
1
answer
179
views
Problems migrating Node.js Azure Function from Function Extensions 2.x to 3.x
So, I've inherited an Azure Function App written in Node.js from a contractor who did a little work for us. This piece of code was developed outside our C# stack, so I'm having to go back and maintain ...
0
votes
2
answers
484
views
Azure.Storage.Blobs: No valid combination of account information found
I have created blob triggered azure function and while connecting it to azure I am getting error as "No valid combination of account information found". Here is my code sample
...
0
votes
1
answer
98
views
How do I set app setting value using Azure Function?
Wondering if it's possible for an Azure Function to set a value of an app setting.
For example whilst developing locally or in production one can read custom settings by binding it to a class
builder....
0
votes
1
answer
206
views
Azure function runtime 3.3.1 cannot be chosen
when we set the FUNCTIONS_EXTENSION_VERSION to either 3.3.1 or 3.3.0 it still selects 3.2.0, so it seems that 3.3.1 is still not available to us even though it is on the release page?
Anybody know ...
0
votes
1
answer
65
views
Two Azure Functions share an In-Proc collection
I have two Azure Functions. I can think of them as "Producer-Consumer". One is "HttpTrigger" based Function (Producer) which can be fired randomly. It writes the input data in a ...
-1
votes
1
answer
75
views
Trigger execution warnings with Logic App Standard on Azure Function Runtime
I've got a Logic App (Standard) running on an Azure Function runtime, and I've noticed I'm getting spammed with warnings for my O365 When a new email arrives in a shared mailbox (V2) trigger.
Trigger ...
1
vote
1
answer
83
views
What dotnet runtime version is being used by my Azure Function?
I have an Azure Durable Function running on Azure. It has:
FUNCTIONS_EXTENSION_VERSION: "~3",
FUNCTIONS_WORKER_RUNTIME: "dotnet"
We are experience an error that I have found ...
4
votes
0
answers
286
views
Azure Function builder.GetContext().EnvironmentName always 'Development'
With reference to the official document
When this application setting isn't present when running in Azure, the environment is assumed to be Production.
Even after overriding ...
0
votes
0
answers
61
views
Http triggered Azure function - not scaling down even after idle time beyond 20 minutes
Below Http triggered Azure function running on consumption mode, not returning the latest secret value from Azure Keyvault even after idle time of 1 hour
Assumption as per az func scaling: Azure ...
0
votes
1
answer
42
views
Image not Loading in HTML file generated by azure function
I am trying to embed an image inside HTML which is generated by an azure function. when I run it in localhost I am able to see the image, but when I convert that to an azure function it throws a ...
2
votes
1
answer
2k
views
Azure Functions Logging
In Azure Functions you use host.json to configure logging. However, the logging options/sections are unclear to me. Can someone help?
Per this: https://docs.microsoft.com/en-us/azure/azure-functions/...
2
votes
1
answer
3k
views
Azure Function Timeout after 30 minutes
I have set up an Azure Function v3. Configured with Standard plan per this document: https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json#functiontimeout. Also, set up ...
0
votes
0
answers
100
views
Azure Functions custom handlers - Cosmos DB input binding
I am trying to implement a simple custom handler in Golang with and HTTP trigger and a Cosmos DB input binding. However I keep getting this error:
When I run the function without the Cosmos DB input ...
1
vote
1
answer
900
views
Azure Function Container is disposed and should not be used: Container is disposed
I have set up and configured Azure Function v3 (.net core). It is a long-running process that calls some external API and stores the result in DB. The problem is that it only completes 50% of the time ...
0
votes
1
answer
716
views
Azure Function Logging
How does one configure logging in Azure Functions ver 3?
The only way I managed to 'some what' configure logs is by having this in my Startup.cs (although I would like to have different configurations ...
0
votes
0
answers
201
views
Azure function .Net 5 HTTP Trigger Post request Data limitation
I am trying to Post a data that is more than 4 MB (4096 Bytes) to the Azure function using HTTP Trigger.
It is timing out .
Following is my code in Azure function
public static class SampleFunction
{
[...
0
votes
1
answer
276
views
Azure Functions not displaying logs in Monitoring
I've created an Azure Function App with python and have published an app that runs every 5 minutes. I used to go to the Function > Monitoring to see the last 30 day runs. I've checked today and all ...
1
vote
1
answer
1k
views
Azure Functions - Can't deploy functions using VSCODE extension - Deploy hangs forever at uploading zip package to storage container
I have read a lot of articles, docs but can't deploy a function to Microsoft Azure functions app using vscode azure functions extension. It hangs forever at Uploading zip package to storage container.....
0
votes
1
answer
82
views
Use composer packages in Azure Functions PHP custom handler
I'm trying to install composer dependencies in Azure Fucntions PHP custom handler.
With node js, the npm install command is run during function initialization.
What is the correct way to install ...
0
votes
1
answer
1k
views
upload file to blob storage with Azure functions in PowerShell using Azure module
Requirement is to store the file in Storage account through Azure functions in PowerShell using Az module. Please help.
$todaydate = Get-Date -Format MM-dd-yy
$LogFull = "AzureScan-$todaydate.log&...
0
votes
1
answer
181
views
Why does an anonymous httptrigger azure function throw a 500 internal server error when 'code' is a param in query string?
I have a Function App that is running in a container in Kubernetes. One of my endpoints is an httptrigger with anonymous access. However the query string contains a parameter code (supplied by a 3rd ...
0
votes
1
answer
118
views
Azure Function running in AKS throws 500 on query string parameter for http trigger function
I have an azure function app that I have containerized and running in AKS. One of my http endpoints has a query string parameter of code=. When I call that endpoint I immediately get a 500 response. ...