Questions tagged [azure-functions-runtime]

424 questions
0
votes
2 answers

The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft'

I have created a very basic (default) function app using Visual Studio by following MS Docs- Installed the packages according to the doc only. After I created a new function app , I am seeing this errors - csproj
0
votes
1 answer

Azure functions pass ILogger reference to the shared library lead to Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions'

I have a Azure function that passes ILogger reference to my shared library List of NuGet Package installed on AzureFunctionProject Microsoft.Extensions.Logging.Abstractions v5.0.0 Microsoft.NET.Sdk.Functions v3.0.11 List of NuGet Package installed…
ram4sof
  • 365
  • 1
  • 4
  • 14
0
votes
3 answers

IHostEnvironment in Azure Function, EnvironmentName is always 'Development'

I have a service which is called within an Azure Function, and the service accesses IHostEnvironment via DI. Very standard, works as expected: public TestService(IHostEnvironment hostEnvironment, IHttpClientFactory httpClientFactory,…
Mike
  • 1,010
  • 1
  • 14
  • 33
0
votes
2 answers

Azure Function is not getting triggered - Blob Storage Trigger

I have a simple Azure Function that is triggered when a new item is added in a Blob Storage. The function reads the new JSON file uploaded to the Blob Storage and loads the information in a DataBase. It works locally and when I deployed the function…
0
votes
1 answer

Access to TelemetryConfiguration object from C# script (csx) in Azure Function

I need to inject a TelemetryProcessor into existing TelemetryConfiguration (Application Insights) to modify default Azure Function behavior. There are examples how to do it through Dependency Injection for c# projects. I wonder whether there is a…
0
votes
1 answer

Facing Issue with Azure function binding types

In our project previously Azure Function was using .NET Framework 4.6.1 and runtime version is ~1. While deploying the same code to new app service and by default the runtime version comes with 3.0.15417.0 and .netcore3.0. While publishing we are…
user1877936
  • 351
  • 3
  • 7
  • 22
0
votes
1 answer

Azure Functions Python virtual environment not recognized in VS Code for debugging

My colleague is unable to debug in VS Code using a Python Azure Function our organization uses. When cloning the repository for the function, she is prompted to create a virtual environment, but no Python version is found under this prompt: Select a…
0
votes
2 answers

Azure Functions .NET Core 3.1: Referencing file in solution failing when deployed

I have a certificate file in my Azure Function (.NET Core 3.1) solution that resides at this location in my solution: C:\Users\me\Documents\Code\Test\TestSolution\Test.Subproject\Certificates\cert.p12 The file is set to Copy if newer and Build…
0
votes
1 answer

Azure Functions: How does the runtime update active instances?

When a developer pushes an update to their Functions codebase, does the runtime stop all active instances in a Function app (hosted as a premium plan) and then update them all and finally restart them? Or is the update rolled out to the instances…
user246392
  • 2,661
  • 11
  • 54
  • 96
0
votes
1 answer

Is there a way to see when the Azure Functions Runtime was updated in Linux?

For an Azure Function, how can I tell when an Azure App Service Plan's FUNCTION_EXTENSION_VERSION was updated on a Linux server? Note this is in relation to the same exact question answered for Windows.
0
votes
1 answer

Is there a way to return data from the called azure function back to logic app who called it?

I have office 365 trigger "when new e-mail arrives?" i initialize a variable username with value Max Sample Then called azure function FxNet21HttpTrigger1 and if determine there a username for the Logic App is this possible to chnge it there give…
0
votes
1 answer

Azure Function ignoring MaxConcurrentRequests setting

I have an Azure function running with this host.json config: { "version": "2.0", "extensions": { "http": { "routePrefix": "api", "maxOutstandingRequests": 200, "maxConcurrentRequests": 2, "dynamicThrottlesEnabled":…
Jon G
  • 4,083
  • 22
  • 27
0
votes
1 answer

Timer triggered Azure Function app fails sometimes and runs at a different time slot

So I've created a Azure Function and deployed it under Consumption Plan, it is supposed to trigger every hour, but the problem here is that it sometimes does not trigger at the specified time, and there's a delayed trigger, the delayed trigger…
Venky
  • 1,929
  • 3
  • 21
  • 36
0
votes
1 answer

Azure Functions with POST HTTP trigger return code 500 without apparent reason

I have a pretty fatal problem with an Azure Functions app. The app uses Linux and consists of several functions with a GET HTTP trigger and several with a POST HTTP trigger. The functions are written in Python. The GET methods have authLevel…
0
votes
1 answer

Azure Functions: Does the runtime re-start running instances upon an environment variable change?

I have a Function app, and I'd like to understand what happens when I change environment variables on Azure Portal. Does Azure stop the running web server and re-start it for the environment changes to be picked up? I'm re-using static variables…