Questions tagged [azure-functions]

Azure Functions is an event-driven serverless compute platform in Azure and Azure Stack. Its open-source runtime also works on multiple destinations including Kubernetes, Azure IoT Edge, on-premises, and other clouds.

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. You can write just the code you need for the problem at hand, without worrying about a whole application or the infrastructure to run it. Functions can make development even more productive, and you can use your development language of choice, such as C#, F#, Node.js, Java, or PHP. Pay only for the time your code runs and trust Azure to scale as needed. Azure Functions lets you develop serverless applications on Microsoft Azure.


###Getting Started

15299 questions
3
votes
2 answers

Azure Function Python Import Error : libpython3.6m.so.1.0

I have a project hosted on Microsoft Azure. It has Azure Functions that are Python code and they recently stopped working (500 Internal Server Error). The code has errors I haven't had before and no known changes were made (but the possibility…
Qrom
  • 487
  • 5
  • 20
3
votes
1 answer

Use Azure Functions in abstract base class?

I have a FunctionApp running that exposes some entities and they all have the same CRUD operations that follow the same pattern and I was wondering if there was a way I could generalize this in the code. But I'm struggling a bit since everything is…
Matt Immer
  • 327
  • 1
  • 13
3
votes
1 answer

Azure Function - Get Token from DefaultCredentials \ Managed Identity

I am working with an Azure Function that needs to authenticate into an API /APP Service with using JWT. I have been looking around a LOT of examples and settled on this as being the most appropriate public string GenerateToken() { var credential…
Simon Price
  • 3,011
  • 3
  • 34
  • 98
3
votes
1 answer

Need Clarification : Logging data in to Application Insights from Azure Functions

I an trying to log details of my function app into Application Insights. My basic code: public class AzureAppInsightsExplore { private readonly ILogger logger; public…
JackFrost
  • 200
  • 1
  • 2
  • 16
3
votes
1 answer

How to get Client IP Address in Dotnet-Isolated Azure Functions?

I'm writing a function in .NetCore 6.0 (C#) using Azure Functions Isolation and need to get the ip address of the client. Is there any way to get Client IP address from the HttpRequestData OR FunctionContext object? …
Sumit patel
  • 3,807
  • 9
  • 34
  • 61
3
votes
0 answers

Registering implementation type is not assignable to service type on upgrade to .Net 6

I am getting the following error with Azure Functions: A host error has occurred during startup operation {{Guid}} Microsoft.Azure.WebJobs.Script.Host registering implementation type {{type}} is not assignable to service type {{interface}}. Using…
Stuart Brant
  • 155
  • 1
  • 8
3
votes
7 answers

Azure Functions runtime is unreachable

My azure function is returning error: Azure Functions runtime is unreachable System.Reflection.ReflectionTypeLoadException : Unable to load one or more of the requested types. Method 'LogFunctionStarted' in type…
Krzysztof
  • 152
  • 1
  • 2
  • 15
3
votes
0 answers

Authenticating headless chromium launched inside an Azure Function

In our project we've built an Azure Function which launches Puppeteer in headless mode, goes to our webpage and takes a screenshot of the page which is then emailed out as pdf report. Works locally and deployed to Azure. That was the POC though.…
3
votes
2 answers

Moving Azure Functions (linux hosted) from Consumption to Premium Plan

I have an existing Azure function with Consumption plan, however, I need to move it to Premium Plan. While creating the function app, I selected linux for the OS. So far, I created a premium plan and then running the following through azure-cli: az…
Dhrumil
  • 67
  • 11
3
votes
1 answer

What is a valid binding name for azure function?

When I try to run the azure function defined below, I get the following error log The 'my_function' function is in error: The binding name my_function_timer is invalid. Please assign a valid name to the binding. What is the format of a valid…
Vincent Doba
  • 4,343
  • 3
  • 22
  • 42
3
votes
1 answer

Get a list of all of an Azure Function App's functions & status

With Azure Powershell, how do you get a list of all of a Function App's functions and their respective status (status at the function level, not FunctionApp level)? I can get a list of FunctionApps with Get-AzFunctionApp -ResourceGroupName…
Fred2020
  • 315
  • 3
  • 14
3
votes
2 answers

Use Azure Function middleware only for selected functions

I have a project with several Azure Functions and in the Main function where the startup is configured I register middleware like this: var host = new HostBuilder() .ConfigureFunctionsWorkerDefaults(builder => { …
Jens Roderus
  • 181
  • 9
3
votes
1 answer

How to configure an Azure custom handler with a timer trigger?

I'm trying to configure a new function in my Golang custom handler that uses a timer trigger. But I haven't been able to find any documentation for it. I've reviewed examples on the Azure/Azure-Functions github, but a timer trigger is missing:…
Enviy
  • 71
  • 7
3
votes
2 answers

Azure Function App Unable to get Connection String : Value cannot be null. (Parameter 'connectionString')

I have an Azure Function with DDD Architecture. My project structure looks like this: local.settings.json file Looks like this: { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", …
Unknown Coder
  • 1,510
  • 2
  • 28
  • 56
3
votes
3 answers

Azure Durable Function: Fan Out vs. Parallel.ForEachAsync

I have to run a function on a list of items. I'm using Azure Durable Functions, and can run the items in parallel using their fan out/fan in strategy. However, I'm wondering what the difference would exist between doing that vs. using the new…
Ben
  • 2,962
  • 2
  • 20
  • 26
1 2 3
99
100