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
15
votes
5 answers

Azure Functions Docker Deployment Linux workers are not available in resource group

Trying to deploy a nginix container from Azure Container Registry through function app, Getting an error as, Linux workers are not available in resource group How to enable linux workers to a resource group? Dockerfile for deployment, FROM…
Kannaiyan
  • 12,554
  • 3
  • 44
  • 83
15
votes
5 answers

How Do I get the Name of The inputBlob That Triggered My Azure Function With Python

I have an azure function which is triggered by a file being put into blob storage and I was wondering how (if possible) to get the name of the blob (file) which triggered the function, I have tried doing: fileObject=os.environ['inputBlob'] message =…
Kikanye
  • 1,198
  • 1
  • 14
  • 33
14
votes
8 answers

No template sub-directory with name 'lab' found in the following paths

I am running a python azure function which is running a jupyter notebook via the nbconvert API. This was working for a time, although without deploying new code I have started to get the following error: No template sub-directory with name 'lab'…
Liam Ferris
  • 1,786
  • 2
  • 18
  • 38
14
votes
5 answers

How to enable azure function https easily when do local test

I want to test Azure Function Http trigger locally on windows. I use azure-function-core-tools to run command like func start --port 5007 --useHttps And then I got error : Auto cert generation is currently not working on the .NET Core build. It…
south
  • 307
  • 4
  • 13
14
votes
5 answers

How to use IOptions pattern in Azure Function V3 using .NET Core

My requirement is to read values from local.settings.json using IOptions pattern My localsettings.json: { "IsEncrypted": false, "Values": { "MyOptions:MyCustomSetting": "Foobar", "MyOptions:DatabaseName": "Confirmed", …
14
votes
1 answer

Your azure function app has functions_worker_runtime set to node while your local project is set to none

I have a node function app that runs fine locally and when deployed. However, I receive the error : Your azure function app has functions_worker_runtime set to node while your local project is set to none and am unable to deploy it if I don't check…
Keagan
  • 141
  • 1
  • 1
  • 3
14
votes
4 answers

Azure function app deploy and release pipeline error

I pushed my .net core function application using visual studio and now setting up release pipeline. I can publish and execute the application just fine and it works great on the Azure portal. However when I see the builds for releases in…
Sarah
  • 1,199
  • 2
  • 21
  • 42
14
votes
1 answer

Availability of HttpClientFactory for Azure Functions v2

I want to know if HttpClientFactory or similar is available for Azure Functions v2. Below is what is recommended, but HttpClientFactory or similar is not shown. // Create a single, static HttpClient private static HttpClient httpClient = new…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
14
votes
2 answers

Do I need to remove message from service bus queue after processing it in azure function?

New to Azure, I wrote an azure function that is triggered when message arrives to service bus queue. Do I need to remove this message manually or is this handled by service bus?
epitka
  • 17,275
  • 20
  • 88
  • 141
14
votes
3 answers

How to find Azure Function App IP for white-listing

I have developed a PowerShell script to send mail to specified users using MX record DNS once in a day. Mails are delivered successfully but all mails are going in to Junk folder. Exchange team have analyzed the message header and responded that…
K Senthilrajan
  • 143
  • 1
  • 1
  • 5
14
votes
2 answers

Expensive use of storage account from Azure Functions

I'm running a single Azure Function on the consumption plan. I've picked the consumption plan for the serverless feature as well as to minimize cost. The function consumes messages from a service bus topic and writes some output to blob…
ThomasArdal
  • 4,999
  • 4
  • 33
  • 73
14
votes
2 answers

Azure Durable function - InvalidOperationException when CallActivityAsync

I'm playing around with the Azure Durable functions. Currently I'm getting InvalidOperationException within Orchestration function after I call an activity. It complains that Multithreaded execution was detected. This can happen if the orchestrator…
zavolokas
  • 697
  • 1
  • 5
  • 20
14
votes
6 answers

how to export and import Azure Function's "application settings"

How to export and import Azure function's "application settings" ? I have added keys and need to move to new function app. Kindly guide.
user576510
  • 5,777
  • 20
  • 81
  • 144
14
votes
4 answers

Azure function: Could not load file or assembly Microsoft.IdentityModel.Tokens, Version=5.2.1.0

Im writing an azure function to generate a JWT token and return it to the client. The code is tested locally in a console app and all seems to work fine. This is the package reference included in the working console app, and in my functions…
Craigt
  • 3,418
  • 6
  • 40
  • 56
14
votes
2 answers

How to execute a lot of durable functions triggered by Azure Queue?

If briefly, our task is to process a lot of input messages. To solve this we decided to use Azure Queue Storage and Azure Functions. We have Azure Functions structure similar to the following code: Queue triggered…