We have hosted an azure application and enabled for multiple organizations by creating a separate DB per Org. Now, we need to run a background service that needs to generate:
Configure Azure function with TimerTrigger Enabled (Time of Run will be configured by each organization in the Admin application)
The Azure function should be invoked as many times based on the time configured by the organization(same function will be called multiple instances)
The function schedule time for each org should be updated on demand (through c# code) - I am not sure if this can be done
Based on the time and org details, function needs to fetch records from respective DB and process it.
To minimize the Function timeout issue - Records will be processed as batch and get updated in the respective Org DB.
Let know your inputs on this
Thank you!