3

I have an azure function blob trigger, and I want to use many sources and destinations for this function like the following example:

If the container1 is trigged, write in output1. If the container2 is trigged, write in output2. ...

3
  • Could you please share more details what you tried and have you got any error result? Commented Jun 22, 2022 at 7:42
  • The blob trigger is a function that listen to a blob container, when a file is detected the function runs some codes. I want to do the same thing, but I want to listen to multiple containers (sources) Commented Jun 22, 2022 at 7:45
  • you probably want to have a look at evet grid trigger for blob: learn.microsoft.com/en-us/azure/azure-functions/… Commented Jun 22, 2022 at 8:20

1 Answer 1

4

It's not possible to listen to multiple sources (containers) from an Azure Blob Trigger Function.

One of the solutions for this requirement given by @Cindy Pau and @rickvdboschis to use Azure Functions Event Grid Blob Trigger for listening to multiple containers and process the functionality according to your requirement.

Refer to these SO Thread1 and SO Thread2 for more information.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.