Hi @2JK ,
Welcome to Microsoft Q&A! Apologies for the delay in getting back to this.
The lease container maintains state across multiple and dynamic serverless Azure Function instances and enables dynamic scaling. Azure Functions (with "trigger type": "cosmosDBTrigger") gets automatically triggered on each new event in your Azure Cosmos container's change feed.
Based on the symptom of issue reported, please refer to the document for "Common scenarios and workaround in Azure Cosmos DB Triggers". This contains common troubleshooting scenarios and corresponding measures to rectify them.
Please let me know if you have any questions.
---
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.