Questions tagged [queuetrigger]
62 questions
1
vote
1 answer
Get same Azure Function Queue Trigger code to target 2 different queues based on app settings
I have an azure function that I'd like to have target 2 different queues.
I don't really want to have 2 separate repositories to manage and to try to keep them identical. For testing my functions, I've been using precompiler statements and thought…

A.Rowan
- 1,460
- 2
- 16
- 20
0
votes
1 answer
Azure functions use-queue trigger with managed identity- Storage Queue Data Contributor Role
I am using Azure Queue Trigger v4 to get it triggered through managed identity having Storage Queue Data Contributor Role, but when new message is added in Queue, this azure function does not get triggered. I checked the application insight but…

Abhishek P
- 68
- 10
0
votes
1 answer
Error in Queue Trigger - The input is not a valid Base-64 string
I'm working in Azure Queue storage and Azure functions queue trigger. I'm using the c# console project to send a class object as a message to the Azure queue and then setting up a queue trigger function to consume a class object in a queue.
But…

ani H
- 1
- 8
0
votes
1 answer
Azure function -Queue trigger and Azure Communication service - mail
I'm working in Azure queue and Azure communication service.
I have a code to send and receive messages to Azure Queue. I'm using web-API to send the queue and receive it with the use of the Azure function(Queue Trigger). Also, have a code to send…

ani H
- 1
- 8
0
votes
1 answer
Empty guid id in QueueTrigger
Every id I receive from queue has the value "00000000-0000-0000-0000-000000000000" rather than for example:
Here is my code:
[FunctionName("FunctionName")]
[Singleton("{Path}", SingletonScope.Function, Mode = SingletonMode.Listener)]
public async…

Julia
- 15
- 3
0
votes
1 answer
Could not load type 'Azure.Messaging.MessageContent' from assembly 'Azure.Core'
I have an azure functions queue trigger. It's working fine locally but not when deployed. In Application Insights I could see the below error message & the queue trigger won't get invoked because of this exception. I had a .netcore 3.1 app with…

Sanushi Salgado
- 1,195
- 1
- 11
- 18
0
votes
1 answer
Error indexing method 'QueueTrigger' Could not load type 'Azure.Core.SyncAsyncEventHandler
I have an azure functions queue trigger. It's working fine locally but not when deployed. In Application Insights I could see the below error message & the queue trigger won't get invoked because of this exception. I had a .netcore 3.1 app with…

Sanushi Salgado
- 1,195
- 1
- 11
- 18
0
votes
1 answer
Encoding warnings when sending data to QueueTrigger
I just updated Azure.Storage.Queues to the latest version, the old version I was running used the CloudQueue object, and the AddMessageAsync method to put a message on the queue.
In the new version you need to use the QueueClient and…

byteArrayJake
- 71
- 8
0
votes
0 answers
how would i put the message from a queue trigger into a database after it has been triggered?
i am working on a C# project and need help as to how to insert data into the database from the queue trigger, i have a console app that inserts data to the queue on azure and then it gets triggered by the function app, what i don't know how is to…

OMO
- 3
- 6
0
votes
1 answer
Storage account connection string does not exist - deploying Queue storage trigger for Azure Functions
I want to create an azure storage queue triggered azure function. I went through the following tutorial https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue-trigger
I basically want to trigger the function…

Rahul
- 1,858
- 1
- 12
- 33
0
votes
1 answer
What permissions I need to create queue storage trigger function?
I am new to Azure Functions and I want to create a queue trigger Function to consume the items in specific queue. But when I create queue trigger function in vscode, it keeps show that I lack some permissions.
The client 'live.com#***@gmail.com'…

superDu
- 67
- 9
0
votes
1 answer
Can't add more than one item to Azure Queue in function app
I have a TimerTrigger function that runs every couple minutes and adds multiple items to a queue, which a QueueTrigger function should process. But each time the QueueTrigger function is firing only once.
my TimerTrigger function:
def main(mytimer:…

Sasha Chernin
- 47
- 7
0
votes
1 answer
remove duplicates from the for loop from QueueTrigger python script
I have written a queueTrigger - Azure functions
def main(msg: func.QueueMessage) -> None:
logging.info('Python queue trigger function processed a queue item: %s',
msg.get_body().decode('utf-8'))
mk_client = MyKiosk()
…

tp_
- 7
- 2
- 6
0
votes
1 answer
How to make Timer Trigger call the Queue Trigger with the help of the queue messages?
For example,
I have 2 queue triggers which are to be called by 2 different messages of queue trigger in Timer Trigger function. How do I call the triggers in the timer and automate the messages so that when Timer function is triggered and it…

tp_
- 7
- 2
- 6
0
votes
0 answers
Code execution get stuck inside Azure Function queue trigger
I'm currently working on an Azure function which should get executed through an Queue-Trigger. The problem is that it doesn't work as it should.
Sometimes queue messages not processed and get stuck. And more often, azure function execution get…

Hunzla Ali
- 383
- 2
- 5
- 22