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

Azure Functions: Queue Trigger is expecting Base-64 messages and doesn't process them correctly

I have this Queue Trigger. The expected is when I insert a message in the Queue, the trigger must fire and process the dequeued message. [FunctionName("NewPayrollQueueTrigger")] public async static void Run([QueueTrigger("myqueue",…
Ramon Dias
  • 835
  • 2
  • 12
  • 23
4
votes
3 answers

Get master key to access HttpTrigger in Azure Function 2x

I need to get a key to access code for HttpTrigger https://mydomain.azurewebsites.net/api/registration?code=Key. In Azure function 1x, with Url https://$functionAppName.scm.azurewebsites.net/api/functions/admin/masterkey will return my master key…
Hung Nguyen Duy
  • 165
  • 1
  • 9
4
votes
3 answers

Blob Trigger for Python Function App is not Firing

I am using Ubuntu 16.04.5 LTS local machine to create and publish Python Function App to Azure using CLI and Azure Functions Core Tools (Ref). I have configured Blob Trigger and my function.json file looks like this: { "disabled":…
4
votes
2 answers

Message from servicebus queue disappears on error in activity function

I have developed an Azure Durable Functions app that triggers on new servicebus queue messages. It works ok when no errors occurs, but when an error occurs in an activity function, it logs that it fails but the message is gone forever from the…
3
votes
1 answer

Azure Queue Trigger reaches MaxDequeueCount immediately

I have an azure queue trigger set up: [FunctionName("TransformData")] public async Task Transform( [QueueTrigger("product-prices")] string message) { await TransformAndLoadData(message); } Whenever I add items to the…
Lukas
  • 162
  • 9
3
votes
1 answer

Using multiple Azure Functions QueueTriggers to listen on the same storage queue

I have an Azure Functions QueueTrigger that listens on a storage queue for messages like this: Message text -------------------------- {"ClientName": "client1"} {"ClientName": "client2"} {"ClientName": "client3"} The QueueTrigger then has code like…
3
votes
1 answer

How to get the name of the file that triggered the Azure Data Factory pipeline?

I am new to ADF. I have a requirement to load the data from 15 CSV files to 15 Azure Sql database tables. In the pipeline there is a trigger to run the pipeline every time a blob is created. I would like to make this pipeline dynamic. My CSV file…
3
votes
1 answer

CosmosDBTrigger reliably processing each document exactly once?

My customer would like to use a CosmosDBTrigger to transfer documents to an Azure Service Bus. In this scenario it's important to have a 1:1 relationship between Cosmos item mutations and Service Bus messages. So, each document that the trigger…
3
votes
2 answers

Copy latest files from S3 to Azure Blob (using Azure Factory V2)

I'm still new to Azure Data Factory and am trying to move files that are dumped in my S3 folder/bucket daily to Azure blob. I already created datasets (for source and sink) and linked services in Data Factory. But since my S3 bucket receives new…
user1330974
  • 2,500
  • 5
  • 32
  • 60
3
votes
1 answer

Get metadata from file that triggered blob trigger Azure function

I have an blob trigger Azure function that is called every time a new file is added to my blob storage. I get the name of that file as an input automatically. In addition to the name, I need the metadata attached to the given file. I've been looking…
2
votes
1 answer

Delete a sql table row using Azure SQL Trigger

I am new to SQL Trigger, i am trying to delete a row from a table ,I have created below trigger using python script , it gives me below error function.json { "scriptFile": "__init__.py", "bindings": [ { "authLevel": "anonymous", …
2
votes
1 answer

Azure function host stops automatically and doesn't restart

I've seen in multiple Azure function apps that the host is stopping on a regular basis and automatically restarting. Since a week on of my Azure function apps is stopping, but I need to manually restart the host. In ApplicationInsights a ran the…
2
votes
2 answers

Activating ADF Triggers without Publish

To create a Trigger, seems like you have to publish it before it can take effect. But publishing requires a PR to the 'Collaboration' branch, which means we will have to create a PR even before testing if the trigger actually works and also multiple…
Gadam
  • 2,674
  • 8
  • 37
  • 56
2
votes
1 answer

Azure Queue trigger not working with Java

I have a spring boot application which will publish message on azure Queue. I have one more azure queueTrigger function written in Java which will listen to the same queue to which spring boot application has published a message. The queueTrigger…
2
votes
2 answers

Azure trigger function for file share

Like we have blob trigger or event trigger for the blob created or deleted in Azure blob storage, I need to have a function which is triggered when a file is uploaded or created in file share. Blob storage trigger, event grid trigger doesn't work on…
1
2 3 4 5 6 7 8