Hi @Matthieu Livoye (and others who may land here for similar scenarios) - I was unsure how Matthieu was able to configure the creation of the queues dynamically and establish connectivity to them at runtime. Nonetheless, if the end-goal was to achieve sequential ordering and consume only 1 message at a time, Azure Storage Queue may not have been the best fit for this scenario, as the following is stated in the doc:
If you want to avoid parallel execution for messages received on one queue, you can set batchSize to 1. However, this setting eliminates concurrency as long as your function app runs only on a single virtual machine (VM). If the function app scales out to multiple VMs, each VM could run one instance of each queue-triggered function.
So, in order to guarantee the intended behavior, you're kind of bound to run on a single vCPU which may not be ideal on the other aspects of a project. Instead, we recommend using Azure Service Bus and leverage its Message Sessions feature for the ordered FIFO consumption.
My apologies for posting this answer so late but I hope this is helpful to anyone visiting this thread looking to configure a similar use case.