Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi Visham Pati,
Thank you for posting your question in the Microsoft Q&A forum.
Please note that Q&A forum is a public platform, and moderators will modify the question to hide personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Since your bot is working locally but failing "sometimes" after deployment, it typically indicates an issue with the hosting environment or a timeout rather than a manifest error.
Here are the most likely causes and how to verify them:
1. The "Cold Start" Timeout (Most Common)
Is the failure happening only when the bot hasn't been used for a while?
Microsoft Teams expects a response from your bot within 15 seconds (and ideally within 5 seconds for the HTTP trigger). If your bot is hosted on an Azure App Service (Free/Shared plan) or Azure Functions (Consumption plan), it may go to sleep.
2. Review Production Logs
Check your hosting logs (e.g., Azure Log Stream or Application Insights).
- Look for 401 Unauthorized errors (authentication issues) or 500 Internal Server Error.
- Ensure that the
MicrosoftAppTypeis correctly set (e.g.,MultiTenantorSingleTenant) if you are using the newer SDKs.
Looking forward to your findings.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.