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
18
votes
4 answers

Clearing history while debugging azure durable functions

Durable functions keep a state in storage, this is what makes them work, but it is very troublesome while debugging and developing. I have a large number of runs which have not completed and that the system tries to run again when I start the…
user1038502
  • 767
  • 1
  • 9
  • 21
18
votes
2 answers

Is it possible to rename an Azure App Service?

I created an Azure Function but didn't pay attention to the name of the App Service being created. Is it possible to rename an Azure App Service from the Azure Portal? I couldn't find an obvious way to do it.
Randy Minder
  • 47,200
  • 49
  • 204
  • 358
18
votes
5 answers

Azure Functions call http post inside function

Is it possible to create HTTP(s) post request inside Azure Function? I am trying to create a custom webhook that is listening to one service and when triggered then its calling another service over HTTP using post. My code looks like that: public…
18
votes
1 answer

Azure Function and storage queue, what to do if function fails

I'm working out a scenario where a post a message to an Azure Storage Queue. For testing purposes I've developed a console app, where I get the message and I'm able to update it with a try count, and when the logic is done, I delete the message. Now…
Oak3
  • 943
  • 7
  • 20
18
votes
4 answers

How can I Parse Json in a Azure Function

"I have create a Azure Function in this function I call an API that returns JSON. I want to parse this JSON to an object so I can use it in the function. I cannot not use Newton.JSON as the function seems not to know this. How can I parse the JSON?"
Boris Pluimvee
  • 397
  • 2
  • 3
  • 9
17
votes
9 answers

Azure Function - Failed to start a new language worker for runtime: dotnet-isolated

I have a dotnet 5 function app that I've been building and deploying from a devops pipeline for a couple of weeks. Following the most recent release, I see the following error in App Insights: Exception type System.TimeoutException Exception…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
17
votes
3 answers

.NET 5 - The framework 'Microsoft.NETCore.App', version '3.1.0' was not found

When using azure pipelines to build my .NET 5 function I am getting the following error ##[error]/home/vsts/.nuget/packages/microsoft.net.sdk.functions/3.0.11/build/Microsoft.NET.Sdk.Functions.Build.targets(32,5): Error : It was not possible to find…
Kevin Brydon
  • 12,524
  • 8
  • 46
  • 76
17
votes
5 answers

Getting Axios Error: connect ETIMEDOUT when making high volume of calls

I get this error when making a lot of calls from my Azure Function. What does this error mean? How to troubleshoot? My guess is I'm running out of TCP sockets? I don't really know how to check that in the Function App menu. However I checked the…
search-learn
  • 1,037
  • 1
  • 9
  • 23
17
votes
1 answer

How to properly set up Azure Functions logging, live metrics, and app insights with dependency injection

About a month ago, I noticed that some of the monitoring functionality in the old Azure Functions portal interface stopped working. I wrote more details about the issues on the Azure Functions Host GitHub but my particular questions are as of yet…
Linus Proxy
  • 525
  • 1
  • 5
  • 21
17
votes
3 answers

Azure Functions using Cancellation Token with Http Trigger

I am developing a Function in Azure with Cancellation Token. Its an Http Trigger. I pass in a Cancellation Token in in the method parameters. Its long running function. And I cancel the request in between of the process but the process keeps running…
17
votes
3 answers

Azure Functions ARM Template deploy deletes Functions

I've got an ARM template (included below) to deploy an Azure Function App. I deploy it with: az group deployment create --resource-group my-group --template-file my-function-app.json This works and I can then deploy my functions successfully using…
eoinmullan
  • 1,157
  • 1
  • 9
  • 32
17
votes
3 answers

Manually trigger Azure Function - Time triggered

I have an Azure Function that runs on a timer trigger once a week. This works great and as expected, but about once or twice a month, a user needs this function to run upon request, so I need to do a post to the function to trigger it - much like…
mieliespoor
  • 945
  • 2
  • 8
  • 23
17
votes
3 answers

Azure Functions Portal error - The function runtime is unable to start

I have a VS 2017 C# developed Azure Function App deployed on the consumption plan using the VS 2017 Publish mechanism. All functions are timer or Service Bus triggered. I see a status of running in the Azure Portal and the functions appear to be…
17
votes
5 answers

Unable to debug and publish Azure Function from Visual Studio 2017

I used to debug and publish my Azure Function Project using Visual Studio 2017. However suddenly everything stopped working. When i tried to debug the project i got the error "A project with an Output Type of Class Library cannot be started…
Markus S.
  • 2,602
  • 13
  • 44
17
votes
4 answers

How can I use Application Insights locally with Azure Functions?

I'm using the interface ILogger to log events inside my Azure functions. I can publish it in Azure and connect it to Application Insights in Azure. I want to see my logs inside Application Insights in my Visual Studio during development. In here I…
gabomgp
  • 769
  • 1
  • 10
  • 23