Questions tagged [azure-http-trigger]

121 questions
5
votes
1 answer

Adding Health Check to .NET Isolated Azure Function

I could not find any resources to add health checks to a HTTPTrigger function app, running in .NET 5.0 Isolated. static async Task Main() { var host = new HostBuilder() .ConfigureAppConfiguration(configurationBuilder => { …
4
votes
1 answer

Azure Functions ( Http Triggered) started throwing TaskCancelled Exception randomly

How do I go about troubleshooting this? I have a couple of Azure functions that use the following trigger signature [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post"). The functions are running on a consumption plan. They get triggered 2-3…
AGCodes
  • 622
  • 1
  • 8
  • 22
4
votes
1 answer

Invalid Audience when protecting Azure Function with App Service Authentication (EasyAuth) and a Custom OpenID Provider

I have an Azure Function (tried both Windows and Linux Consumption) using Azure App Service Authentication (Easy Auth) with a custom OpenId Connect provider to authenticate my Azure Function with an http trigger. I configured a client in my Identity…
4
votes
3 answers

How do I return JSON only from Azure Functions (dotnet5)

I have a set of HttpTrigger Azure Functions in dotnet5 and I want to return JSON from those Azure Functions. I'm using return new OkObjectResult(myObject) but that is not providing JSON but rather the JSON is in the "Value" element of the JSON…
ChrisHDog
  • 4,473
  • 8
  • 51
  • 77
4
votes
2 answers

How to disable SAS authorization for Logic App?

Is there a way to disable the SAS authorization scheme for a Logic App HTTP-trigger? In the documentation I read the following: "Inbound calls to a request endpoint can use only one authorization scheme, either SAS or Azure Active Directory Open…
cb0008
  • 93
  • 1
  • 8
4
votes
1 answer

Azure Functions concurrency and scaling behaviour

There's a bunch of Azure Functions concurrency questions here on SO but none of them addresses this specifically. I'm wrapping my head around the scaling scenario for a HTTP-triggered Function app (runtime is Node.js if that matters). I'm coming…
3
votes
1 answer

Azure Functions HttpTrigger Keys in AKS

I am hosting my Azure Functions as containers in my AKS cluster. Some of my functions have HTTP Triggers, and I don't want them exposed publicly (although security is not a huge concern so I also don't want to roll my own token authentication in…
Mike
  • 1,718
  • 3
  • 30
  • 58
2
votes
1 answer

Azure Functions: Inherit HttpTrigger functions / routes from base class

I've got some common functionality in a number of Azure Function Apps. Each Function App exposes the exact same query operations on a common resource that each Function App has. Same endpoints, same dependancies etc. Up until now, there's been a…
John Reilly
  • 5,791
  • 5
  • 38
  • 63
2
votes
1 answer

Increase node heap memory size in azure httptrigger function

I'm creating serverless httptrigger function in azure. And then I execute the function by http get call. My function executes just fine. But if during runtime there is too many data loaded then I get JavaScript heap out of memory error. In my local…
Indranil Mondal
  • 2,799
  • 3
  • 25
  • 40
2
votes
1 answer

Azure Functions with Cosmos DB Binding - ORDER BY not working when passed as route parameter

I'm trying to fetch a list of items from a container ordered by a specific field. Here's my CosmosDB Binding with SQL Query: [FunctionName("FilterEvents")] public static IActionResult FilterEvents( [HttpTrigger(AuthorizationLevel.Anonymous,…
2
votes
1 answer

Azure Function app keys gets changed frequently

I have created a Azure HTTP Trigger function app, and i will consuming that as a rest api in my .Net application, but problem i am facing is, few days once i see keys are getting changed and my .Net app is failing to consume that function app. What…
Manjunath G
  • 167
  • 2
  • 10
2
votes
1 answer

Azure functions v3 /HTTP trigger functions : Limiting the request body and URL size

I would like to see how I can limit the maxRequestLength and maxAllowedContentLength properties in an API that was created using HTTP triggers with Azure functions v3 (using .Net core app 3.1) I have tried using a web.config file that just got…
2
votes
1 answer

How to trigger Azure function with flutter

I created an azure function in c # and set up an HTTP trigger. I'm interested in how to call this function from the flutter application. I don't need to transfer any special data because everything is already in the link I use to call the…
2
votes
2 answers

HTTP Trigger Azure Function APP Times out on Azure only after 23 seconds

I have got a Azure Function APP, HTTP trigger calling a webservice and passing on Soap message containing XML. (hosted via APP service plan) Locally, using VS2019 the function successfully reaches the web service and receives response within 25…
2
votes
1 answer

Logic app -send email with attachment-"Unable to parse template language expression 'base64('triggerBody()?['contentBytes']')': "

Working on sending email on http trigger with attachments in logic app. Providing json input as below { "properties": { "bcc": { "type": "string" }, "body": { "type": "string" }, …
1
2 3
8 9