Questions tagged [azure-triggers]

Triggers and bindings in Azure Functions.

Links

  1. Azure Functions triggers and bindings concepts

  2. Azure Functions Recipes - Triggers and bindings

111 questions
0
votes
0 answers

Azure Function with HTTP Trigger returns 204 but does not execute function

I have a bash script that iterates over all files in a folder and uses curl to post them to an Azure Function with an HTTP trigger. Function details: - v2.0 function - written in C# - consumption plan Most of the time this works as expected: The…
0
votes
1 answer

How to update a doc in a collection with Azure function Cosmos DB trigger?

I need to update some docs(type1) with data from other docs(type2) when they create on CosmosDB. I decided use javascript Azure Functions and cosmosDBTrigger, server-less Azure option. I have problems with binding expressions to configure…
0
votes
1 answer

Java Azure Function with IoT Hub trigger is not starting

i am trying to trigger a java function each time my IoT Hub receives a batch of 64 messages (or whatever, the number is not important). I followed this guide to create the basic code, then i edited creating this function public class Function…
vsam490
  • 59
  • 1
  • 11
0
votes
1 answer

How can i know if the function in my DLL is called from azure function or simple web application

So i have a web application with a DLL having function lets say function add(). I am writing an azure function V1 that has the reference of my DLL. So is there a way for me to identify whether the function add() in my DLL is called from azure…
Its_Ady
  • 308
  • 2
  • 10
0
votes
2 answers

Can azure logic app can run multiple HTTP request on single trigger?

I need to make 6 HTTP request using trigger in one logic resource only. How can I make multiple HTTP request from logic app. Also Azure logic app showing error "This session has timed out. To see the latest run status, navigate to the runs history…
0
votes
1 answer

Windows PDB writer version Error while running an Azure Time Trigger Function

I have an Azure time trigger function developed in Azure portal which will trigger once in a day. The triggering function was working fine yesterday, but suddenly today function is returning the below error while running the…
0
votes
1 answer

Error calling the azure function from data factory pipeline trigger

I am calling an http triggered Azure function app in data factory pipeline using ADF function activity. It is executing successfully in debug mode, but when I publish that pipeline and run the same code using data factory triggers I get below…
0
votes
1 answer

Azure Function CosmosDb Trigger processes same documents over and over

I have a function that is triggered by CosmosDb insert/updates and I copy each document to a storage blob. When debugging, the function fires over and over again for the same handful of documents. I've tried limiting the number of documents…
Ryan T4S
  • 73
  • 1
  • 6
0
votes
1 answer

Azure Function HttpTrigger with Cosmos DB input

I am trying to create an Azure Function HttpTrigger with cosmos DB input binding. But it is giving me a type error. Here is what I am trying: public static async Task Run(IReadOnlyList inputDocs, HttpRequest req,…
0
votes
0 answers

Operating with device twin inside azure function

I have an IotHub trigger: [FunctionName("MainFunc")] public static void Run([IoTHubTrigger("messages/events", Connection = "IotHubConnectionString", ConsumerGroup = "cons_group")]EventData message, ILogger log) { //.... …
amplifier
  • 1,793
  • 1
  • 21
  • 55
0
votes
1 answer

Trigger java function in azure container registry to output file content when file is uploaded in onedrive

When file is uploaded to onedrive I need to trigger java code to read content of the file. This java code is to be made as docker image and pushed to azure container registry. What steps should I take to pass this file as an input to java code and…
Lani
  • 178
  • 1
  • 2
  • 9
0
votes
0 answers

How do I structure an API that has multiple methods with an Azure Trigger?

I have a [FunctionName] with a [HttpTrigger] in it. I want my API to have various methods, e.g. getUserById, getAllUsers, createUser etc. It is unclear if I should be putting them all into a single HttpTrigger and using a switch statement to work…
NibblyPig
  • 51,118
  • 72
  • 200
  • 356
0
votes
1 answer

Trigger Azure function by Azure event hub containing some user property

Is it possible to have an Azure function that is triggered by a message on an Azure event hub ONLY if the EventData contains some specified user property in the Properties dictionary?
0
votes
1 answer

Azure EventHub and Durable Functions

Literally trying out to make do of something I am not good at. I have read upon the durable function overview here - https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview. There is a topic on using Bindings to…
PEF
  • 125
  • 2
  • 11
0
votes
1 answer

How do I set up an Azure trigger that detects an AD change in another Directory?

I have a web API that gets called from Azure but I don't know how to get it to run when there is a change in the Azure AD. So basically: Azure logic app listens for change in Directory. Azure AD detects change in Directory. Logic app runs. How do…