Trying to deploy 3 functions of different types(CosmosDBTrigger/TimerTrigger/HttpTrigger) in the same azure function app service account, attached the folder structure for reference.
Functions are not working as expected but throwing error after successful deployment.
Expection received:
Function (CopyToQueue) Error: Microsoft.Azure.WebJobs.Host: Error indexing method 'CopyToQueue'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter 'inputCloudSyncJobModels' to type IEnumerable`1. Make sure the parameter Type is supported by the binding. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
One of the function declaratives as below:
public static async Task Run([**TimerTrigger**(scheduleExpression: "%TimerConfig%")]TimerInfo myTimer,
[CosmosDB(databaseName: "%DatabaseName%",
collectionName: "%InputCollection%",
SqlQuery ="%JobsSelectQuery%",
ConnectionStringSetting = "CosmosDBConnectionString")]
IEnumerable<object> **inputCloudSyncJobModels**,
[Queue(queueName: "%JobsQueueName%", Connection = "StorageConnectionString")] IAsyncCollector<string> outputCloudQueueModels,
Microsoft.Extensions.Logging.ILogger log, ExecutionContext context)
If I deploy same functions under different individual azure function app services they are working charm without any modifications.
Please suggest the way to make these functions as working ones when they are deployed under same azure function app service.