Hi @Alberto Avendaño ,
Here are some MS articles that may be helpful to you in dealing with your case.
Let's start with the migration of Azure Functions V3.x to V4.x:
Already for the second case where a totally new Azure Function V4 that works fine locally, but after the publishing in Azure the function doesn't process the new queue items, this article may help:
Best regards,